Skip to main content
GET
/
oauth2
/
@me
Get current OAuth2 user
curl --request GET \
  --url https://api.fluxer.app/v1/oauth2/@me \
  --header 'Authorization: Bearer <token>'
{
  "application": {
    "id": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "description": "<string>",
    "bot_public": true,
    "bot_require_code_grant": true,
    "flags": 1073741823
  },
  "scopes": [
    "<string>"
  ],
  "expires": "<string>",
  "user": {
    "id": "<string>",
    "username": "<string>",
    "discriminator": "<string>",
    "global_name": "<string>",
    "avatar": "<string>",
    "avatar_color": 1073741823,
    "flags": 1073741823,
    "bot": true,
    "system": true,
    "email": "<string>",
    "verified": true
  }
}

Authorizations

Authorization
string
header
required

OAuth2 access token: Authorization: Bearer <token>.

Response

Success

application
object
required

The application associated with the token

scopes
string[]
required

The list of granted OAuth2 scopes

Maximum array length: 50
expires
string
required

The expiration timestamp of the token

user
object

The user associated with the token