Skip to main content
POST
/
v1
/
authentication
/
lookup
curl -X POST https://portal-api.7331.org/v1/authentication/lookup \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-public-api-key" \
  -d '{"username": "championoftheworld"}'
{
  "id": 42,
  "username": "championoftheworld",
  "avatar_url": null,
  "permission_level": 0,
  "subscription_tier": 0,
  "platforms": [
    {
      "platform": "discord",
      "platform_user_id": "1185865881356615713"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Requires X-API-Key header with the public API key.
username
string
required
Username to look up (3-32 characters, alphanumeric with dots, underscores, and hyphens).

Response

id
integer
required
User ID.
username
string
required
Username.
avatar_url
string
Platform avatar URL. May be null.
permission_level
integer
required
Permission level. 0 = User, 1 = Moderator, 2 = Admin, 3 = Owner.
subscription_tier
integer
required
Current subscription level. 0 = Basic, 1 = Trial, 2 = Premium, 3 = Lifetime.
platforms
object[]
required
Linked platform identities for login. Each entry has platform (string) and platform_user_id (string).
curl -X POST https://portal-api.7331.org/v1/authentication/lookup \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your-public-api-key" \
  -d '{"username": "championoftheworld"}'
{
  "id": 42,
  "username": "championoftheworld",
  "avatar_url": null,
  "permission_level": 0,
  "subscription_tier": 0,
  "platforms": [
    {
      "platform": "discord",
      "platform_user_id": "1185865881356615713"
    }
  ]
}