Presence

Set current extension user presence

post

Set current extension user presence.

Authorizations
Body
presencestring · enumOptional

The specified presence of extension:

  • DO_NOT_DISTURB:
  • AVAILABLE:
  • AWAY:
  • BUSINESS_TRIP:
  • LUNCH:
Possible values:
presence_notestring · max: 128Optional

The presence note.

Responses
200
OK
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