/call/incoming
.
We then use twiml.connect to tell Twilio that we want to handle the call via our websocket by setting the url to our /call/connection
endpoint.
start
message event, we generate audio using the ElevenLabs TypeScript SDK.
.env
file with your ngrok domain and ElevenLabs API key.
/call/incoming
path):
E.g. https://*******ngrok.app/call/incoming
SERVER_DOMAIN
environment variable to that of your server. Be sure to also update the URL in Twilio to point to your production server.