call-init or ElevenLabs’ conversation-init. Works on all transports.
Supported Transports
| Transport | Trigger | call.type value |
|---|---|---|
| Twilio voice | routing_target_type: "webhook" on phone number | inboundPhoneCall |
| WhatsApp voice | routing_target_type: "webhook" on phone number | inboundWhatsAppCall |
| WebRTC | server_url in POST /v1/webrtc/connect body | webrtc |
Setup
Phone numbers (Twilio / WhatsApp)
Bind withrouting_target_type: "webhook":
WebRTC
Passserver_url in requestData:
Your Server Receives
Response Options
- Agent ID
- Agent ID + Variables
- Inline Agent
- Full Response
Response Fields
| Field | Purpose |
|---|---|
agent_id | Load existing agent by UUID |
agent | Inline agent config (alternative to agent_id) |
variables | Template variables rendered into {{placeholders}} in prompts |
metadata | Stored on call record for analytics |
dynamic_data.knowledge_context | Prepended to system prompt as runtime context |