SautiDesk
SautiDesk API
Calls and phone

Get a softphone token

GET
/v1/desk/phone/token

Returns a short-lived credential for the key's person's own softphone line, used to register and to place and receive calls. Request a new one each time the phone connects.

Requires: desk.read scope, Converse licence.

Authorization

bearerAuth
AuthorizationBearer <token>

A SautiDesk API key. An owner or admin makes it under Settings in SautiDesk for a named person and picks the scopes. The key is shown once. Send it as Authorization: Bearer <key>. It acts as that person and as nobody else.

In: header

Response

OK

Example

{  "token": "example-value",  "endpoint": "https://example.com/hooks/sautidesk",  "protocol": "wss",  "turnServer": {},  "extension": "1001",  "clientName": "example",  "inbound": false}
FieldTypeDescription
tokenrequiredstring
endpointrequiredstring
protocolstring
turnServerany
extensionrequiredstring
clientNamestring
inboundrequiredboolean
curl -X GET "https://api.sautidesk.com/v1/desk/phone/token"