Trying to transfer a live voice interaction to a specific queue using the PATCH endpoint. The goal is to inject a trace ID into the transfer context for our OTel pipeline.
PATCH /api/v2/conversations/voice/{conversationId}
Content-Type: application/json
{
"actions": [
{
"type": "transfer",
"transferType": "QUEUE",
"to": {
"id": "queue-id-123"
}
}
]
}
Getting a 400 Bad Request. Response says invalid transfer target.
- Genesys Cloud API v2
- Auth: OAuth2 Bearer Token
- Queue ID verified via GET /routing/queues
Does the to object need extra fields? Is the transferType correct?