Skip to main content
POST
/
oauth
/
introspect
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>"
}

Body

token
string
required

The token to introspect

Response

Introspection response

active
boolean
required

Whether the token is active

scope
string

Space-separated list of scopes

client_id
string

Client identifier

exp
integer

Expiration timestamp

iat
integer

Issued at timestamp

iss
string

Issuer

aud
string

Audience