Trying to kick off an outbound call from our middleware when a specific trigger hits in Genesys Cloud. We’ve got the OAuth token sorted and it works fine for fetching user details, but the actual call initiation is failing hard.
Here is the payload we are sending:
{
"to": [{"phoneNumber": "+15550199888"}],
"from": {"phoneNumber": "+15550123456"},
"wrapUpCode": "001"
}
We are hitting POST /api/v2/conversations/calls with this body. The response is a 403 Forbidden. The error message just says “User does not have permission to perform this action.”
We checked the role and it has view:conversation and control:conversation. Shouldn’t that cover it? Or is there a specific scope we are missing for outbound calls?
Curious if anyone else ran into this wall. The docs are a bit sparse on the exact permission matrix for programmatic outbound calls.