Learn how to set up and configure Twilio integration for voice and SMS capabilities. This guide walks you through the complete setup process.

🎥 Video walkthrough

Go to Twilio Console

Voice call integration

Webhook URL for calls:
https://prod-contactswing-calls-962560522883.us-central1.run.app/inbound_call?assistant_id=ENTER_YOUR_ASSISTANT_ID_HERE
  • Enter your assistant key in the Twilio Console under Voice configuration.
  • Go to the Phone Numbers section, select your number, and set the Voice webhook to the above URL (replace with your assistant ID).

SMS integration

Webhook URL for SMS:
https://prod-contactswing-fastapi-962560522883.us-central1.run.app/v2/receive/sms?workspace_key=YOUR_AUTH_KEY_HERE&assistant_id=ENTER_YOUR_ASSISTANT_ID_HERE
  • Enter your assistant key in the Twilio Console under Messaging configuration.
  • Go to the Phone Numbers section, select your number, and set the Messaging webhook to the above URL (replace with your auth key and assistant ID).

Final steps

  • Make sure both Voice and Messaging webhooks are correctly linked to your assistant.
  • You can manage these configurations directly in the Twilio Console.

Success! 🎉

Your Twilio account is now set up to handle both voice calls and SMS messages with your assistant.