v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-05-063234169.4 KB
VoiceV1ByocTrunk

post/v1/ByocTrunks/{Sid}

Path parameters

Sidstring required

The Twilio-provided string that uniquely identifies the BYOC Trunk resource to update.

Response

OK

account_sidstring nullable

The SID of the Account that created the BYOC Trunk resource.

sidstring nullable

The unique string that that we created to identify the BYOC Trunk resource.

friendly_namestring nullable

The string that you assigned to describe the resource.

voice_urlstring uri nullable

The URL we call using the voice_method when the BYOC Trunk receives a call.

voice_method'GET' | 'POST' http-method nullable

The HTTP method we use to call voice_url. Can be: GET or POST.

voice_fallback_urlstring uri nullable

The URL that we call when an error occurs while retrieving or executing the TwiML requested from voice_url.

voice_fallback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call voice_fallback_url. Can be: GET or POST.

status_callback_urlstring uri nullable

The URL that we call to pass status parameters (such as call ended) to your application.

status_callback_method'GET' | 'POST' http-method nullable

The HTTP method we use to call status_callback_url. Either GET or POST.

cnam_lookup_enabledboolean nullable

Whether Caller ID Name (CNAM) lookup is enabled for the trunk. If enabled, all inbound calls to the BYOC Trunk from the United States and Canada automatically perform a CNAM Lookup and display Caller ID data on your phone. See CNAM Lookups for more information.

connection_policy_sidstring nullable

The SID of the Connection Policy that Twilio will use when routing traffic to your communications infrastructure.

from_domain_sidstring nullable

The SID of the SIP Domain that should be used in the From header of originating calls sent to your SIP infrastructure. If your SIP infrastructure allows users to "call back" an incoming call, configure this with a SIP Domain to ensure proper routing. If not configured, the from domain will default to "sip.twilio.com".

date_createdstring date-time nullable

The date and time in GMT that the resource was created specified in RFC 2822 format.

date_updatedstring date-time nullable

The date and time in GMT that the resource was last updated specified in RFC 2822 format.

urlstring uri nullable

The absolute URL of the resource.