Grant Token

Generates a temporary JSON Web Token (JWT) with a 30-second (by default) TTL and usage::write permission for core voice APIs, requiring an API key with Member or higher authorization. Tokens created with this endpoint will not work with the Management APIs.

Headers

AuthorizationstringRequired

Request

Time to live settings
ttl_secondsintegerOptional>=1<=3600
Time to live in seconds for the token. Defaults to 30 seconds.

Response

JWT token response
access_tokenstring

JSON Web Token (JWT)

expires_indouble or null
Time in seconds until the JWT expires

Errors