Skip to main content
POST
/
v6
/
auth
/
introspect
Introspect access token
curl --request POST \
  --url https://sandbox.tight.com/v6/auth/introspect \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>'
{
  "active": true,
  "sub": "your_userId",
  "client_id": "your_client_id",
  "exp": 1780000000,
  "iat": 1779996400,
  "scope": "<string>",
  "token_type": "Bearer"
}

Authorizations

Authorization
string
header
required

HTTP Basic authentication using client_id:client_secret

Body

application/x-www-form-urlencoded
token
string
required

The access token to introspect.

Response

200 - application/json

Token introspection result

active
boolean
required

Whether the token is currently active and valid.

Example:

true

sub
string

Subject identifier — the user or client the token was issued to.

Example:

"your_userId"

client_id
string

The client ID associated with the token.

Example:

"your_client_id"

exp
integer

Unix timestamp indicating when the token expires.

Example:

1780000000

iat
integer

Unix timestamp indicating when the token was issued.

Example:

1779996400

scope
string

Space-separated list of scopes granted to the token.

token_type
string
Example:

"Bearer"