v1

latestOpenAPI 3.0.1Apache 2.02026-07-14321253.8 KB

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.

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.

enabledboolean nullable

Whether the target is enabled. The default is true.

friendly_namestring nullable

The string that you assigned to describe the resource.

priorityinteger nullable

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.

sidstring nullable

The unique string that we created to identify the Target 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.

urlstring uri nullable

The absolute URL of the resource.

weightinteger nullable

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.