Calls

Generate a Sinch Voice SDK token

GET
/api/calls/token/sinch

Mints a short-lived (10-minute) Sinch RTC JWT scoped to the authenticated user, plus the application key and the user's default Sinch caller ID. Required for the Sinch Web/Mobile SDK to register and place PSTN calls.

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/sinch"
{  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.example.token",  "applicationKey": "sinch-app-key-xxxx",  "userId": "64f0a1b2c3d4e5f6a7b8c9d4",  "callerIdentifier": "+14165550100",  "expiresIn": 600}