Check out our upcoming events and meetups! View events →
Introspect an OAuth access token to check its validity and metadata
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>"
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
The token to introspect
Was this page helpful?
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>"
}