Generate TwiML for incoming Twilio calls. This endpoint is called by Twilio when a call comes in.
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