Direct messages, notifications and live events
Stream live desk events
Opens a server-sent event stream of workspace events such as new tickets, new messages and ringing calls. The server closes the stream about every 30 seconds, so reconnect with last_event_id to resume after the last event received.
Requires: desk.read scope.
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
Query Parameters
last_event_id?string
The id of the last event you received, to resume after it.
Response
OK
The body is empty.
curl -X GET "https://api.sautidesk.com/v1/desk/stream"