Skip to main content
POST
Import Phone Number

Authorizations

Authorization
string
header
default:$CARTESIA_API_KEY
required

Cartesia API key (sk_car_...). Get one at play.cartesia.ai/keys.

Headers

Cartesia-Version
enum<string>
default:2026-03-01
required

API version header.

Available options:
2026-03-01
Example:

"2026-03-01"

Body

application/json

Request body for importing a phone number from an existing provider. The number of Cartesia phone numbers is limited by your subscription plan.

label
string
required

A human-readable name for the phone number.

number
string
required

The phone number in E.164 format.

provider
By ID · object
required

Reference to the provider. Pass { "id": "..." } for an existing provider, or { "type": "twilio", "account_sid": "...", "region": "..." } to look up by account.

agent_id
string

Optionally assign an agent to answer inbound calls to this number. Omit to keep the number outbound-only.

Response

Phone number imported.

A phone number with its provider and agent assignment details.

id
string
required

Unique identifier for the phone number.

number
string
required

The phone number in E.164 format (e.g. +14155551234).

agent
object | null
required

The agent that answers inbound calls to this number, or null if unassigned

created_at
string<date-time>
required

UTC timestamp when the phone number was created.

updated_at
string<date-time>
required

UTC timestamp when the phone number was last updated.

provider
Twilio · object
required

A linked Twilio account. The api_key_sid field is partially masked in responses.

label
string | null

A human-readable name for the phone number.