JavaScript
import Telnyx from 'telnyx'; const client = new Telnyx(); const response = await client.oauth.introspect({ token: 'token' }); console.log(response.client_id);
{ "active": true, "scope": "<string>", "client_id": "<string>", "exp": 123, "iat": 123, "iss": "<string>", "aud": "<string>" }
Introspect an OAuth access token to check its validity and metadata
The token to introspect
Introspection response
Whether the token is active
Space-separated list of scopes
Client identifier
Expiration timestamp
Issued at timestamp
Issuer
Audience
Was this page helpful?