Cognigy Studio GetRESTProxy returning 500 on handover

Trying to trigger a handover from Cognigy to NICE CXone Studio via the GetRESTProxy snippet. The call hits the endpoint but returns a 500 Internal Server Error immediately. The JSON payload looks valid. Here is the snippet config:

GetRESTProxy("POST", "https://api.nicecxone.com/api/v2/integration/external-handovers", {"conversationId": conversation.id, "targetQueueId": "12345"}, true)

The logs show the request is sent, but the response body is empty. What am I missing?

that endpoint doesn’t exist in v2. use /api/v2/external-conversations/{externalConversationId}/handoffs instead. you’ll also need the external-conversations:write scope on your token.