OAuth Protocol

Token introspection

Introspect an OAuth access token to check its validity and metadata

post/oauth/introspect

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/oauth/introspect
  • Auth: OAuth 2 (authorization code, authorization URL https://api.telnyx.com/v2/oauth/authorize, token URL https://api.telnyx.com/v2/oauth/token; client credentials, token URL https://api.telnyx.com/v2/oauth/token)

Request body

tokenstring required

The token to introspect

Response

Introspection response

activeboolean required

Whether the token is active

scopestring

Space-separated list of scopes

client_idstring

Client identifier

expinteger

Expiration timestamp

iatinteger

Issued at timestamp

issstring

Issuer

audstring

Audience

Changes

No operation changes recorded.