Skip to main content
POST
/
oauth2
/
introspect
Introspect OAuth2 token
curl --request POST \
  --url https://api.fluxer.app/v1/oauth2/introspect \
  --header 'Content-Type: multipart/form-data' \
  --form 'token=<string>' \
  --form 'client_id=<string>' \
  --form 'client_secret=<string>'
{
  "active": true,
  "scope": "<string>",
  "client_id": "<string>",
  "username": "<string>",
  "token_type": "<string>",
  "exp": 1073741823,
  "iat": 1073741823,
  "sub": "<string>"
}

Body

multipart/form-data
token
string
required

The token to introspect

client_id
string<snowflake>
client_secret
string

The application client secret

Response

Success

active
boolean
required

Whether the token is currently active

scope
string

The space-separated list of scopes

client_id
string<snowflake>
username
string

The username of the token owner

token_type
string

The type of token

exp
integer<int32>
Required range: 0 <= x <= 2147483647
iat
integer<int32>
Required range: 0 <= x <= 2147483647
sub
string<snowflake>