Skip to main content
GET
/
v1
/
users
/
me
curl https://hapi.7331.org/v1/users/me \
  -b cookies.txt
{
  "discord_id": "123456789012345678",
  "username": "exampleuser",
  "avatar_url": "https://cdn.discordapp.com/avatars/123456789012345678/abc.png",
  "subscription_tier": 0,
  "state": 0,
  "permission_level": 0,
  "prefix": "!",
  "subscription_expires_at": null,
  "last_activity_at": "2025-01-15T12:00:00Z",
  "source": "database",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}
Requires an active session cookie.

Response

discord_id
string
required
Discord user ID.
username
string
Discord username.
avatar_url
string
Discord CDN avatar URL.
subscription_tier
integer
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
Permission level. 0 = User, 1 = Moderator, 2 = Admin, 3 = Owner.
prefix
string
required
Command prefix for this user.
subscription_expires_at
string
When subscription expires (UTC). null for lifetime.
last_activity_at
string
required
When user was last active.
created_at
string
required
When the user was created (UTC).
updated_at
string
required
When the user was last updated (UTC).
curl https://hapi.7331.org/v1/users/me \
  -b cookies.txt
{
  "discord_id": "123456789012345678",
  "username": "exampleuser",
  "avatar_url": "https://cdn.discordapp.com/avatars/123456789012345678/abc.png",
  "subscription_tier": 0,
  "state": 0,
  "permission_level": 0,
  "prefix": "!",
  "subscription_expires_at": null,
  "last_activity_at": "2025-01-15T12:00:00Z",
  "source": "database",
  "created_at": "2025-01-01T00:00:00Z",
  "updated_at": "2025-01-15T12:00:00Z"
}