Calls

Generate a Sinch Voice SDK token (legacy alias)

GET
/api/calls/token

Legacy alias for /api/calls/token/sinch. Mints a short-lived (10-minute) Sinch RTC JWT for the calling user along with their default Sinch caller ID. Kept for older clients; new code should call /token/sinch or /token/twilio directly.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/calls/token"
{  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example.token",  "applicationKey": "sinch-app-key-xxxx",  "userId": "64f0a1b2c3d4e5f6a7b8c9d4",  "callerIdentifier": "+14165550100",  "expiresIn": 600}