Get the access token context
GET/api/token/context
Returns the decoded context carried by the access token presented in the
Authorization header — roles plus the user, partner, customer subscription
and customer subscription group the token is scoped to.
Use it to discover, at runtime, who and what a token represents without
decoding the JWT yourself. Every field is optional: only the sections present
in the token claims are returned (a pure service token, for instance, carries
no user).
Pass the bearer token obtained from POST /token.
Requires the ROLE_IDP_READ_CONTEXT role.
Responses
- 200
- 401
- 403
Token context resolved from the bearer token.
Missing or invalid bearer token.
The token is valid but lacks the ROLE_IDP_READ_CONTEXT role.