Skip to main content
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.

Path Parameters

integer
required
The unique identifier of the SIP trunk to update

Body Parameters

All fields are optional. Only send the fields you want to update.
string
The SIP extension or phone number (1-15 characters)
string
A short, human-friendly label for the trunk. Maximum 50 characters. Send null to clear it.
string
Username for SIP authentication (3-128 characters)
string
Password for SIP authentication (minimum 3 characters)
string
The SIP server address without port
string
The outbound calling number format: +e164, e164, or national
string
How 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
Array of IP addresses allowed for inbound calls. Required when inbound_authorization_type is set to ip.
string
ISO 3166-2 country code
boolean
Route outbound calls through a fixed IP address

Response

string
Success message
object
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: Fields like sip_calling_format, country_code are stored locally and do not trigger re-provisioning.