PATCH /api/v2/interactions/{id} for queue transfer fails with 400

Trying to transfer an active voice call to a different queue programmatically. I’m sending a POST request to /api/v2/conversations/calls/{conversationId}/participants/{participantId}/consult/queue with the target queue ID in the request body. The response is a 400 Bad Request saying the action isn’t valid for the current state.

{
 "queueId": "queue-uuid-here"
}

Is there a specific field I need to set, or is the conversation state wrong?

1 Like