Webhooks

ElevenLabs tool: transfer call to human agent (stub)

POST
/api/webhook/elevenlabs/tools/transfer

Server tool webhook called by the ElevenLabs voice agent mid-call when the caller requests a transfer. Currently a stub - real Sinch SIP REFER implementation lands in a follow-up. Authenticated via Bearer token (per-org elevenlabsToolSecret).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/webhook/elevenlabs/tools/transfer" \  -H "Content-Type: application/json" \  -d '{    "reason": "Caller asked for a human supervisor",    "conversation_id": "conv_8f3d1b9c2e7a4f0b9a4d2c1e6e2f8c01",    "called_id": "+12362320246"  }'
{  "success": false,  "message": "Transfer is not yet implemented - please ask the caller to hold while a human agent joins."}