Hello Guys, I present a problem since I am currently validating a genesys API, in Postman, to be able to update the status of the call, from salesforce, to a disconnected state. The problem is that when testing, postman gives me the following errors.
The configuration I tested with is:
AUTORIZATION
TYPE: OAUTH 2.0
HEADER PREFIX: BEARER
GRAND TYPE: CLIENT CREDENTIALS
ACCESS TOKEN URL: https://login.mypurecloud.com/oauth/token
CLIENT ID: XX
CLIENT SECRET: XX
SCOPE: (EMPTY)
CLIENT AUTHENTICATION: SEND CLIENT CREDENCIALS IN BODY
HEADERS
CONTENT-TYPE: APPLICATION/JSON
BODY: {"state": "disconnected"}
API: https://api.mypurecloud.com/api/v2/conversations/calls/c090cbe9-d930-4a55-b20f-aac2b178c6ba/participants/b7d4871d-274c-41f3-bb8c-4164c326b338
METHOD: PATCH