v50

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

post/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets

Path parameters

ConnectionPolicySidstring required

The SID of the Connection Policy that owns the Target.

Response

Created

account_sidstring nullable

The SID of the Account that created the Target resource.

connection_policy_sidstring nullable

The SID of the Connection Policy that owns the Target.

sidstring nullable

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

friendly_namestring nullable

The string that you assigned to describe the resource.

targetstring uri nullable

The SIP address you want Twilio to route your calls to. This must be a sip: schema. sips is NOT supported.

priorityinteger

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

weightinteger

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

enabledboolean nullable

Whether the target is enabled. The default is true.

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.