Skip to main content
GET
/
v1
/
users
/
me
curl https://portal-api.7331.org/v1/users/me \
  -b "psession=YOUR_SESSION"
{
  "id": 42,
  "username": "exampleuser",
  "avatar_url": "https://cdn.discordapp.com/avatars/123/abc.png",
  "subscription_tier": 0,
  "state": 0,
  "permission_level": 0,
  "subscription_expires_at": null,
  "subscription_granted_by": null,
  "last_activity_at": "2025-01-15T12:00:00Z",
  "permission_since": null,
  "avatar_source": "discord",
  "linked_platforms": [
    {
      "platform": "discord",
      "platform_user_id": "1185865881356615713",
      "platform_username": "exampleuser",
      "platform_avatar_url": "https://cdn.discordapp.com/avatars/123/abc.png",
      "linked_at": "2025-01-01T00:00:00Z",
      "last_authenticated_at": "2025-01-15T12:00:00Z"
    }
  ],
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}

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 an active session cookie.

Response

id
integer
required
User ID.
username
string
required
Username.
avatar_url
string
Resolved platform avatar URL. May be null.
subscription_tier
integer
required
Current subscription level. 0 = Basic, 1 = Trial, 2 = Premium, 3 = Lifetime.
state
integer
required
User state. 0 = Active, 1 = Timeout, 2 = Banned.
permission_level
integer
required
Permission level. 0 = User, 1 = Moderator, 2 = Admin, 3 = Owner.
subscription_expires_at
string
When subscription expires (UTC). null for lifetime or basic.
subscription_granted_by
integer
ID of the user who granted the subscription. null if not applicable.
last_activity_at
string
required
When user was last active (ISO 8601).
permission_since
string
When the user was most recently assigned their current permission level. null if never changed.
avatar_source
string
Avatar source key (platform name or default key). null means earliest linked platform.
linked_platforms
object[]
required
Platform identities linked to this account. Each entry has platform, platform_user_id, platform_username, platform_avatar_url, linked_at, and last_authenticated_at.
created_at
string
required
When the user was created (UTC).
updated_at
string
required
When the user was last updated (UTC).
curl https://portal-api.7331.org/v1/users/me \
  -b "psession=YOUR_SESSION"
{
  "id": 42,
  "username": "exampleuser",
  "avatar_url": "https://cdn.discordapp.com/avatars/123/abc.png",
  "subscription_tier": 0,
  "state": 0,
  "permission_level": 0,
  "subscription_expires_at": null,
  "subscription_granted_by": null,
  "last_activity_at": "2025-01-15T12:00:00Z",
  "permission_since": null,
  "avatar_source": "discord",
  "linked_platforms": [
    {
      "platform": "discord",
      "platform_user_id": "1185865881356615713",
      "platform_username": "exampleuser",
      "platform_avatar_url": "https://cdn.discordapp.com/avatars/123/abc.png",
      "linked_at": "2025-01-01T00:00:00Z",
      "last_authenticated_at": "2025-01-15T12:00:00Z"
    }
  ],
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}