For basic Twilio number and SMS setup, see Voice > Numbers > Twilio.
Quick setup
1
Open Integrations
In Agent Studio, go to Integrations and click Connect on the Twilio card.

2
Enter your Twilio account credentials
In the Step 1: Twilio account credentials panel, paste:
PolyAI uses these to provision the SIP trunk(s) on your Twilio account. Click Continue.
- API Key
- API Secret
- Account SID

3
Add your phone numbers
Add the Twilio numbers you want to route to PolyAI for Sandbox, Pre-release, and Live. Numbers must be in E.164 format with a country code (e.g.
+441234567890).4
Submit
PolyAI provisions the SIP trunk on your Twilio account and wires up routing per environment. You’re then taken to Voice > Handoffs to configure transfers back to a human agent.
Where to find your Twilio credentials
In the Twilio Console:- Account SID — top of the Account Info panel on the dashboard.
- API Key + API Secret — Account > API keys & tokens > Create API key. The secret is shown once at creation; copy it before closing the dialog.
Editing or removing the integration
- Update routing — re-open the Twilio card in Integrations to add or remove numbers per environment.
- Disconnect — use the Disconnect action on the integration. PolyAI removes the routing on its side and tears down the SIP trunk it provisioned.
Configuring handoffs
After the integration is connected, configure how calls transfer back to human agents in Voice > Handoffs. See Call handoffs for the full reference.Related pages
- Voice > Numbers > Twilio — basic Twilio number and SMS setup
- Call handoffs — configure transfer destinations
- Voice integrations — other voice platforms

