Skip to main content
POST
/
v1
/
oauth2
/
introspect
Introspect Token
curl --request POST \
  --url https://api.spairehq.com/v1/oauth2/introspect \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'token=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>'
{
  "active": true,
  "client_id": "<string>",
  "scope": "<string>",
  "sub": "<string>",
  "aud": "<string>",
  "iss": "<string>",
  "exp": 123,
  "iat": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/x-www-form-urlencoded
token
string
required
client_id
string
required
client_secret
string
required
token_type_hint
enum<string> | null
Available options:
access_token,
refresh_token

Response

200 - application/json

Successful Response

active
boolean
required
client_id
string
required
token_type
enum<string>
required
Available options:
access_token,
refresh_token
scope
string
required
sub_type
enum<string>
required
Available options:
user,
organization
sub
string
required
aud
string
required
iss
string
required
exp
integer
required
iat
integer
required