API reference / Accounts

get/v1/token/introspect

Check whether the caller holds a valid session

Operation
introspectToken
Authentication
None — public

Request

Responses

200Whether the presented bearer token is valid, and for whom.
activebooleanrequired
user_idstring
rolestring
429Rate limit exceeded. Retry after `retry-after` seconds.
errorobjectrequired

Example

curl
curl -X GET https://api.haavisa.com/v1/token/introspect

More in Accounts

Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.