Skip to main content
GET
/
api
/
calls
/
token
/
twilio
Generate a Twilio Voice SDK token
curl --request GET \
  --url https://your-instance.example.com/api/calls/token/twilio \
  --header 'Authorization: Bearer <token>'
{
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example.twilio",
  "identity": "+14165550100",
  "userId": "64f0a1b2c3d4e5f6a7b8c9d4"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Twilio access token + identity

token
string
required

Twilio AccessToken JWT with VoiceGrant.

identity
string
required

User's Twilio phone number used as the SDK identity.

userId
string
required