Skip to main content
PUT
Update Phone Number

Headers

authorization
string | null

Path Parameters

phone_number_id
string<uuid>
required

Body

application/json

In-place update of a binding's routing/SMS config.

The number's identity (SID, E.164) and its server_url_secret are stable — call-init endpoints keep verifying with the same secret across edits.

routing_target_type
string
required
Pattern: ^(agent|workflow|webhook)$
routing_target_id
string<uuid> | null
server_url
string | null
Maximum string length: 2048
sms_enabled
boolean
default:false
metadata
Metadata · object | null

Response

Successful Response

The response is of type Response Update Phone Number V1 Phone Numbers Phone Number Id Put · object.