Was this helpful?
Set current extension user presence.
The specified presence of extension:
DO_NOT_DISTURB
AVAILABLE
AWAY
BUSINESS_TRIP
LUNCH
The presence note.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/user/presence' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "presence": "DO_NOT_DISTURB", "presence_note": "text" }'
No body