Retrieves authenticated user information using a valid access token. Requires identify scope and supports email scope for email fields.
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
}OAuth2 access token: Authorization: Bearer <token>.
Success
The subject identifier of the user
The unique identifier of the user
The username of the user
The discriminator of the user
The global display name of the user
The avatar hash of the user
The email address of the user
Whether the user has verified their email
The public flags on the user account
0 <= x <= 2147483647curl --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
}