Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The GET /presences/users endpoint returns the presences of all the users.

Panel
borderColor#eeeeee
bgColorwhite
titleColorwhite
borderWidth1
titleBGColor#F79CA6
borderStylesolid
titleIn this page

Table of Contents

Insert excerpt
_ExcerptAPICloudNextGen
_ExcerptAPICloudNextGen
nopaneltrue

Parameters

The endpoint accepts the following query parameter:

...

Type

Required

Example

Array of StringsTruedaab05ec-ba50-45af-a6fd-3b01cdc6f39b

Comma-separated list of user IDs. The maximum number of user IDs is 50 in one query. Individual user IDs are unique within the account.

Requests

Request current presence for two users

Code Block
languagepowershell
themeMidnight
curl -L -X GET "https://***.api.newvoicemedia.com/agents/presences/users?userId=daab05ec-ba50-45af-a6fd-3b01cdc6f39b,c07da2cc-7a64-476e-aa95-be7042332a95" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Accept: application/vnd.newvoicemedia.v1+json"

Responses

Responses to the endpoint returns the presences of all the users.

...