Presence
Set current extension user presence.
Authorizations
Body
presencestring · enumOptionalPossible values:
The specified presence of extension:
DO_NOT_DISTURB
:AVAILABLE
:AWAY
:BUSINESS_TRIP
:LUNCH
:
presence_notestring · max: 128Optional
The presence note.
Responses
200
OK
4XX
Error
post
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"
}
No content