Skip to main content
PATCH
Update Phone Number

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phone_number_id
string
required

Body

application/json
label
string | null
Maximum string length: 120
agent_id
string | null

Agent that answers this number's inbound calls. Explicit null unbinds; omit the field to keep the current binding.

cold_transfer_use_original_caller
boolean | null

Managed twilio numbers only: show the original caller's number on cold transfers (true) or this number (false). Takes effect for new calls once caller_id_sync_status is synced.

retry_caller_id_sync
boolean
default:false

Re-apply the current caller ID policy after a failed synchronization.

Response

Request fulfilled, document follows

phone_number_id
string
required
workspace_id
string
required
phone_number
string
required

E.164, e.g. +14155550123.

provider
enum<string>
required
Available options:
livekit,
twilio,
sip
agent_id
string | null
required

Inbound calls route to this agent; unbound numbers ring busy.

status
enum<string>
required
Available options:
provisioning,
active,
error,
released
created_at
string<date-time>
required
updated_at
string<date-time>
required
label
string
default:""
cold_transfer_use_original_caller
boolean | null

Managed twilio numbers: whether a cold-transfer target sees the original caller's number (true) or this number (false). null for imported sip numbers, whose carrier owns the setting.

cold_transfer_use_original_caller_effective
boolean | null

The policy the carrier has confirmed; null while unknown or for imported sip numbers.

caller_id_sync_status
enum<string>
default:carrier_managed

synced once the carrier confirmed the policy, pending while it is being applied, error when the last attempt failed (send retry_caller_id_sync), carrier_managed for imported sip numbers.

Available options:
synced,
pending,
error,
carrier_managed
caller_id_sync_error
string
default:""

Why the last synchronization failed; empty otherwise.

status_detail
string
default:""

What failed when status is error; empty otherwise.

supports_outbound
boolean
default:false

Whether the number can place calls (outbound and warm-transfer consult legs): managed twilio always, imported sip only when a termination was configured.

termination_uri
string | null

Imported sip numbers: the customer trunk's termination host.

inbound_auth_username
string | null

Imported sip numbers: the inbound digest username. Passwords are never echoed.

inbound_allowed_addresses
string[]

Imported sip numbers: allowed source IPs/CIDRs.

termination_transport
string | null

Imported sip numbers: termination transport.

termination_auth_username
string | null

Imported sip numbers: the termination digest username. Passwords are never echoed.