I’m trying to hand off a call from a CXone Studio script to a NICE Cognigy voicebot using the standard Session Handover action. The flow hits the action and immediately returns a 400 Bad Request with InvalidTargetId. I’ve verified the bot ID in the Cognigy dashboard and it matches what I’m passing in the Studio configuration JSON. Here is the payload I’m sending:
{
"targetId": "cognigy-bot-12345",
"context": { "customerId": "999" }
}
Is there a specific format required for the target ID when integrating with external bots?