Skip to main content
GET
/
oauth2
/
userinfo
Get OAuth2 user information
curl --request GET \
  --url https://api.fluxer.app/v1/oauth2/userinfo \
  --header 'Authorization: Bearer <token>'
{
  "sub": "<string>",
  "id": "<string>",
  "username": "<string>",
  "discriminator": "<string>",
  "global_name": "<string>",
  "avatar": "<string>",
  "email": "<string>",
  "verified": true,
  "flags": 1073741823
}

Authorizations

Authorization
string
header
required

OAuth2 access token: Authorization: Bearer <token>.

Response

Success

sub
string
required

The subject identifier of the user

id
string
required

The unique identifier of the user

username
string
required

The username of the user

discriminator
string
required

The discriminator of the user

global_name
string | null
required

The global display name of the user

avatar
string | null
required

The avatar hash of the user

email
string | null

The email address of the user

verified
boolean | null

Whether the user has verified their email

flags
integer<int32>

The public flags on the user account

Required range: 0 <= x <= 2147483647