v1

latestOpenAPI 3.0.1Apache 2.02026-07-14321253.8 KB

post/v1/ByocTrunks

Response

Created

account_sidstring nullable

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

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.

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.

friendly_namestring nullable

The string that you assigned to describe the resource.

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".

sidstring nullable

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

status_callback_method'HEAD' | 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' http-method nullable

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

status_callback_urlstring uri nullable

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

urlstring uri nullable

The absolute URL of the resource.

voice_fallback_method'HEAD' | 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' http-method nullable

The HTTP method we use to call voice_fallback_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_method'HEAD' | 'GET' | 'POST' | 'PATCH' | 'PUT' | 'DELETE' http-method nullable

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

voice_urlstring uri nullable

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