Versions Compared

Key

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

...

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

Table of Contents

Insert excerpt
_ExcerptAPICloudNextGen
_ExcerptAPICloudNextGen
nopaneltrue

Request parameters

Path parameters

...

 A presence definition identifier. The presence definition ID is unique within the account.

Requests

Set User daab05ec-ba50-45af-a6fd-3b01cdc6f39b presence to eaed6862-14fa-4114-be62-b8709b5d4a49

Code Block
languagepowershell
themeMidnight
curl -L -X PATCH "https://***.api.newvoicemedia.com/agents/daab05ec-ba50-45af-a6fd-3b01cdc6f39b/presence" 
-H "Authorization: Bearer <ACCESS_TOKEN>" -H "Accept: application/vnd.newvoicemedia.v1+json" 
-H "Content-Type: application/json" 
--data-raw "{
    \"presenceId\": \"eaed6862-14fa-4114-be62-b8709b5d4a49\"
}"

Body:

Code Block
languagejs
themeMidnight
{
    "presenceId": "eaed6862-14fa-4114-be62-b8709b5d4a49"
}

Responses

Responses to the endpoint return the updated presence for the specified user.

...