ConsistlyAPI
OAuth

Introspect an access token (RFC 7662)

Returns metadata about an access token (or {active: false} for an unknown, expired, or revoked token). The OAuth application must authenticate either via HTTP Basic or via client_id/client_secret in the body — the same credentials that minted the token.

POST
/oauth/introspect

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/oauth/introspect" \  -H "Content-Type: application/json" \  -d '{}'
{  "active": false}
{  "error": "string",  "error_description": "string"}