The ConnectionPolicyTarget
resource describes the individual URI entries that make up the BYOC Origination ConnectionPolicies list.
The SID of the Account that created the Target resource.
^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that we created to identify the Target resource.
^NE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that we created to identify the Target resource to fetch.
^NE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
GET https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets
The SID of the Connection Policy from which to read the Targets.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
How many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Maximum: 1000
The page token. This is provided by the API.
POST https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that we created to identify the Target resource to update.
^NE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
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.
^NY[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The unique string that we created to identify the Target resource to delete.
^NE[0-9a-fA-F]{32}$
Min length: 34
Max length: 34