v50

latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-02-052411138.5 KB
TrunkingV1OriginationUrl

post/v1/Trunks/{TrunkSid}/OriginationUrls

Path parameters

TrunkSidstring required

The SID of the Trunk to associate the resource with.

Response

Created

account_sidstring nullable

The SID of the Account that created the OriginationUrl resource.

sidstring nullable

The unique string that we created to identify the OriginationUrl resource.

trunk_sidstring nullable

The SID of the Trunk that owns the Origination URL.

weightinteger

The value that determines the relative share of the load the URI should receive compared to other URIs with the same priority. Can be an integer from 1 to 65535, inclusive, and the default is 10. URLs with higher values receive more load than those with lower ones with the same priority.

enabledboolean nullable

Whether the URL is enabled. The default is true.

sip_urlstring uri nullable

The SIP address you want Twilio to route your Origination calls to. This must be a sip: schema.

friendly_namestring nullable

The string that you assigned to describe the resource.

priorityinteger

The relative importance of the URI. Can be an integer from 0 to 65535, inclusive, and the default is 10. The lowest number represents the most important URI.

date_createdstring date-time nullable

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

date_updatedstring date-time nullable

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

urlstring uri nullable

The absolute URL of the resource.