I use client credentials grant to generate a token,
Then invoke the service https://api.mypurecloud.com.au/api/v2/conversations/calls
{
"phoneNumber": "+61430xxxxxx",
"participants": [
{
"userId": "c2df51a3-c199-4fbe-xxxx-e37662fxxxxx"
}
]
}
it replied
{
"message": "This request requires a user context. Client credentials cannot be used for requests to this resource.",
"code": "not.a.user",
"status": 400
}
Does anyone know how to create a call with client credentials grant?
a 3rd party application (.NET) would like to have button click to initiate an outbound call on Purecloud browser. by passing the phone number to dial and agent's userid.