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
Resolved platform avatar URL. May be null.
Current subscription level. 0 = Basic, 1 = Trial, 2 = Premium, 3 = Lifetime.
User state. 0 = Active, 1 = Timeout, 2 = Banned.
Permission level. 0 = User, 1 = Moderator, 2 = Admin, 3 = Owner.
When subscription expires (UTC). null for lifetime or basic.
ID of the user who granted the subscription. null if not applicable.
When user was last active (ISO 8601).
When the user was most recently assigned their current permission level. null if never changed.
Avatar source key (platform name or default key). null means earliest linked platform.
Platform identities linked to this account. Each entry has platform, platform_user_id, platform_username, platform_avatar_url, linked_at, and last_authenticated_at.
When the user was created (UTC).
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"
}