v1
latestOpenAPI 3.0.02026-07-22243670.8 KBOAuth
Introspect token
Returns metadata about an access token, including whether it is active.
post/oauth/introspect
Request body
Example request
{
"client_id": "550e8400-e29b-41d4-a716-446655440000",
"client_secret": "my-client-secret",
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}Response
Token introspection result.
Example response
{
"active": true,
"client_id": "550e8400-e29b-41d4-a716-446655440000",
"exp": 1704067200,
"iat": 1704063600,
"iss": "https://api.example.com",
"scope": "read write",
"sub": "550e8400-e29b-41d4-a716-446655440000",
"username": "user@example.com"
}