Connect your existing Twilio numbers for inbound and outbound use-cases — including international numbers.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.
Prerequisites
- A Twilio account with at least one phone number
- A Cartesia account with an API key
Setup
Step 1: Create a Twilio Subaccount (Recommended)
A dedicated subaccount makes it easy to manage numbers and credentials imported to Cartesia within your broader Twilio setup.- Open the Twilio Console
- Go to Account → Subaccounts → Create new Subaccount
- Name it (e.g.,
cartesia-production) - Copy the Account SID
Step 2: Create an API Key
Create a Standard API key in your Twilio subaccount. API keys are preferred over auth tokens because they can be rotated independently.- In your subaccount, go to Account → API keys & tokens or visit the console here
- Click Create API Key → choose Standard
- Save the SID and Secret in a password manager
Step 3: Connect Your Twilio Account
Add your Twilio credentials to your Cartesia account. They will be validated against Twilio before saving.- Playground
- API
- Go to Phone Numbers → click Add Number → Import from Twilio
- Select Link new account
- Enter your Account SID, API Key SID, API Key Secret, and region

Step 4: Import a Phone Number
Import a number you already own in your Twilio account.- Playground
- API
- In the same Import from Twilio panel, enter your phone number with country code (e.g.,
+14155551234) - Give it a name
- Optionally assign an agent — you can do this later too!
The phone number must already exist in your Twilio account. Cartesia does not purchase numbers on your behalf.
Step 5: Assign to an Agent
Assign a number to an agent so inbound calls are routed to it. You can assign multiple numbers to the same agent.- Playground
- API
- Click on a phone number to open its detail page
- In the Agent card, search for and select your agent

Inbound Calls
When someone calls your Twilio number, they’re connected to the assigned Cartesia agent.Outbound Calls
Your agent can initiate calls to any phone number, including international ones at standard Twilio rates.- Playground
- API
Trigger outbound calls from the agent’s page or via the CLI:
us1 provider routes through the US Twilio edge; an ie1 provider routes through Ireland. See Regional Routing for details.
Credential Rotation
Rotate your Twilio API key without downtime:- Create a new API key in Twilio (Step 2 above)
- Update the provider in Cartesia:
- Playground
- API
Go to Phone Numbers → Settings and update the credentials for your Twilio account.
- Revoke the old key in the Twilio console
Removing a Number
You must unassign an imported phone number before deleting it. Deleting a Twilio number from Cartesia does not remove it from your Twilio account. The number remains available in Twilio for other use.What’s Next
- Place your first outbound call
- Set up regional routing for multi-region deployments
- Explore the Phone Numbers API and Providers API