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

id 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. phone_number string The SIP extension or phone number (1-15 characters) nickname string A short, human-friendly label for the trunk. Maximum 50 characters. Send null to clear it. sip_username string Username for SIP authentication (3-128 characters) sip_password string Password for SIP authentication (minimum 3 characters) sip_address string The SIP server address without port sip_calling_format string The outbound calling number format: +e164, e164, or national inbound_authorization_type 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. allowed_inbound_ips array Array of IP addresses allowed for inbound calls. Required when inbound_authorization_type is set to ip. country_code string ISO 3166-2 country code outbound_proxy boolean Route outbound calls through a fixed IP address

Response

message string Success message data object The updated SIP trunk object (same fields as Get SIP trunk)
200 Updated credentials
200 Switched to IP auth
404 Not Found
422 Validation Error
500 Provisioning Error

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.