Twilio phone numbers are scoped to a region through the API credentials used to manage them. This region determines how Twilio API calls are routed — this can help optimize latency by directing region-specific traffic to a regional Cartesia cluster.Documentation Index
Fetch the complete documentation index at: https://docs.cartesia.ai/llms.txt
Use this file to discover all available pages before exploring further.
How It Works
When you import a Twilio phone number into Cartesia:- Twilio routes the call regionally: Twilio directs incoming calls to the region configured on the API key managing that number —
us1,ie1(Ireland), orau1(Australia). - Cartesia must target the same region: To act on a live call (transfers, hold, hangup), Cartesia sends API requests back to Twilio. These requests must reach the same region where Twilio is handling the call.
- Setting the region on the provider keeps both sides aligned: When you specify a region on your Cartesia provider, all outgoing API requests from Cartesia automatically target the correct Twilio regional edge.
+44...) under a us1 provider may route to a US Twilio server. To route it through the closest server instead, create it under an ie1 (Ireland) API key.
Configuration
Check your Twilio region
In the Twilio Console, go to Phone Numbers → Manage → Active numbers, select your number, and check the Edge Location under Voice & Fax.Supported regions:
us1 (US, default), ie1 (Ireland), au1 (Australia).Set the region in Twilio (if needed)
If the edge location doesn’t match your desired region, update it in the Voice & Fax section of your phone number configuration and save.
Non-default regions require a region-specific API key from Twilio. A standard US key will not work for
ie1 or au1 routing and will result in authentication errors.Match the region in Cartesia
When you create a provider or import a phone number, set the
region field to match your Twilio configuration. If the regions don’t match, mid-call operations like transfers will fail with authentication errors.For non-US regions, you must use a region-specific Twilio API key — a standard US key will not work.Setting Up Multi-Region
If you operate in multiple Twilio regions, create a separate provider object for each:- In your Twilio account, create a region-specific API key (see Integration guide, Step 2)
- Link the same Twilio Account SID with each region:
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Outbound call fails with auth error | API key region doesn’t match the provider region in Cartesia | Verify the region on the provider matches the region your Twilio API key was created for |
| Calls route through the wrong region | Phone number imported under wrong provider | Update the phone number’s provider via PATCH /agents/phone-numbers/{id} with the correct provider ID |
| Credential update rejected with unreachable numbers | New API key can’t access phone numbers in the provider’s region | Ensure the new key has access to all numbers. Twilio returns the list of unreachable numbers in the error response |