Update SIP trunk
SIP Trunks
Update SIP trunk
Update an existing SIP trunk configuration
PUT
Update SIP trunk
This endpoint updates an existing SIP trunk. Only include the fields you want to change — partial updates are supported. Changing credentials, address, or proxy settings automatically re-provisions the affected voice infrastructure trunks.
Fields like
Path Parameters
The unique identifier of the SIP trunk to update
Body Parameters
All fields are optional. Only send the fields you want to update.The SIP extension or phone number (1-15 characters)
A short, human-friendly label for the trunk. Maximum 50 characters. Send
null to clear it.Username for SIP authentication (3-128 characters)
Password for SIP authentication (minimum 3 characters)
The SIP server address without port
The outbound calling number format:
+e164, e164, or nationalHow inbound calls are authenticated:
auth or ip. When switching to ip, you must also provide allowed_inbound_ips. When switching to auth, any existing IP whitelist is cleared.Array of IP addresses allowed for inbound calls. Required when
inbound_authorization_type is set to ip.ISO 3166-2 country code
Route outbound calls through a fixed IP address
Response
Success message
The updated SIP trunk object (same fields as Get SIP trunk)
Re-provisioning behavior
The following field changes trigger automatic re-provisioning of voice infrastructure trunks:| Field changed | Inbound trunk | Outbound trunk |
|---|---|---|
sip_username | Re-created | Re-created |
sip_password | Re-created | Re-created |
sip_address | — | Re-created |
phone_number | Re-created | Re-created |
inbound_authorization_type | Re-created | — |
allowed_inbound_ips | Re-created | — |
outbound_proxy | — | Re-created |
sip_calling_format, country_code are stored locally and do not trigger re-provisioning.
