Generate TwiML for incoming Twilio calls.
This endpoint is called by Twilio when a call comes in. It uses the unified webhook processing architecture:
This webhook is the primary entry point for all voice calls handled by the platform. It is designed to be called exclusively by Twilio when one of your configured phone numbers receives an incoming call or when you initiate an outbound call via the API. Its core function is to generate a TwiML (Twilio Markup Language) response that instructs Twilio to open a bi-directional media stream over a WebSocket connection to your server. This stream is what enables real-time voice interaction with your AI assistants.Documentation Index
Fetch the complete documentation index at: https://docs.burki.dev/llms.txt
Use this file to discover all available pages before exploring further.
POST request to this /twiml endpoint.<Connect> verb, instructing Twilio to connect to the /streams WebSocket endpoint.application/x-www-form-urlencoded data sent by Twilio. The following are the key parameters your system uses:
CallSid (string): A unique identifier for the call, provided by Twilio.To (string): The Twilio phone number that was called.From (string): The phone number of the person initiating the call.assistant_id and a welcome_message.
Successful Response