Access Tokens API

Access Tokens creation API

Create an Access Token.

Create an Access Token (JWT) for the credential.

SecuritybearerAuth
Request
path Parameters
id
required
string

Identifies the resource.

Responses
201

JWT

Response Schema: text/plain
string
404

Resource not Found

post/telephony_credentials/{id}/token
Request samples
const telnyx = require('telnyx')('YOUR_API_KEY');
const accessToken = await telnyx.telephonyCredentials.generateAccessTokenFromCredential('CREDENTIAL_ID');