The ConnectionPolicyTarget
resource describes the individual URI entries that make up the BYOC Origination ConnectionPolicies list.
The SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
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.
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.
The date and time in GMT when the resource was created specified in RFC 2822 format.
The date and time in GMT when the resource was last updated specified in RFC 2822 format.
The absolute URL of the resource.
POST https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets
The SID of the Connection Policy that owns the Target.
The SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.
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.
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.
Whether the Target is enabled. The default is true
.
GET https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
The SID of the Connection Policy that owns the Target.
The unique string that we created to identify the Target resource to fetch.
GET https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets
The SID of the Connection Policy from which to read the Targets.
How many resources to return in each list page. The default is 50, and the maximum is 1000.
POST https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
The SID of the Connection Policy that owns the Target.
The unique string that we created to identify the Target resource to update.
A descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.
The SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
The relative importance of the target. Can be an integer from 0 to 65535, inclusive. The lowest number represents the most important target.
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. Targets with higher values receive more load than those with lower ones with the same priority.
Whether the Target is enabled.
DELETE https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
The SID of the Connection Policy that owns the Target.
The unique string that we created to identify the Target resource to delete.