Was this helpful?
Set current extension user presence.
The specified presence of extension:
DO_NOT_DISTURB
AVAILABLE
AWAY
BUSINESS_TRIP
LUNCH
The presence note.
POST /api/user/presence HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 52 { "presence": "DO_NOT_DISTURB", "presence_note": "text" }
OK
No Content