People and presence
Set my availability
Sets the key's person's own availability using state, with an optional reason. Calls are only offered to people who are available. Only your own state can be changed.
Requires: desk.write 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
Request Body
application/json
Response
No Content. The response body is empty.
The body is empty.
curl -X PUT "https://api.sautidesk.com/v1/desk/agents/me/state" \ -H "Content-Type: application/json" \ -d '{ "state": "available", "reason": "Outside business hours" }'