I’m trying to bridge Genesys Cloud Data Actions with NICE CXone outbound campaigns. The goal is to trigger a specific CXone outbound call via the Personal Connection API when a specific event happens in GC. I have the integration set up, but the HTTP call from the Data Action keeps failing.
Here is the JSON body I’m sending to https://api.nicecxone.com/api/v2/outbound/personal/connection/calls:
{
"to": "+15550199",
"from": "+15550100",
"campaignId": "abc-123-def",
"contactId": "contact-xyz"
}
I’m using the CXone API key for authentication in the header. The response is a 400 Bad Request with this payload:
{
"errors": [
{
"code": "INVALID_PARAMETER",
"message": "Missing required field: callContext"
}
]
}
The docs for Personal Connection are pretty sparse on the exact structure of callContext. I’ve tried passing an empty object {} and a string, but it keeps rejecting it. Is there a specific schema I need to follow for this field when triggering via API vs the UI? I just need to fire off the call and let CXone handle the rest.