Trying to programmatically transfer an active voice call to a different queue using the Conversations API. The goal is to handle an overflow scenario where the agent’s custom desktop app detects a skill mismatch and routes the call to a Tier 2 queue without requiring agent input.
Using the PATCH /api/v2/conversations/voice/{conversationId}/participants/{participantId} endpoint. I’m sending a JSON body to update the to field with a queue object. The request returns a 400 Bad Request with an error message stating Invalid transfer target. I’ve verified the queue ID exists and the participant is in a connected state.
Here’s the request body:
{
"to": {
"id": "queue-12345",
"type": "queue"
}
}
I also tried including the transferType as blind or warm, but the error persists. The documentation suggests this endpoint supports transfers, but it’s unclear if the payload structure changed or if there’s a specific permission required on the application user account.
Has anyone successfully transferred a call to a queue via this endpoint recently? The SDK wrapper I’m using maps directly to this REST call, so I suspect the issue is with the payload format or API versioning rather than the SDK itself.