The GET /presences/users
endpoint returns the presences of all the users.
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Parameters
The endpoint accepts the following query parameter:
...
Type | Required | Example |
---|---|---|
Array of Strings | True | daab05ec-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 | ||||
---|---|---|---|---|
| ||||
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.
...