The ConnectionPolicyTarget
resource describes the individual URI entries that make up the BYOC Origination ConnectionPolicies list.
account_sid
type: SID<AC>The SID of the Account that created the Target resource.
^AC[0-9a-fA-F]{32}$
34
34
connection_policy_sid
type: SID<NY>The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
34
34
sid
type: SID<NE>The unique string that we created to identify the Target resource.
^NE[0-9a-fA-F]{32}$
34
34
target
type: string<uri>The SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
priority
type: integerThe 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.
weight
type: integerThe 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.
date_created
type: string<date-time>The date and time in GMT when the resource was created specified in RFC 2822 format.
date_updated
type: string<date-time>The date and time in GMT when the resource was last updated specified in RFC 2822 format.
POST https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets
ConnectionPolicySid
type: SID<NY>The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
34
34
Target
type: string<uri>RequiredThe SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
FriendlyName
type: stringA descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.
Priority
type: integerThe 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.
Weight
type: integerThe 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.
GET https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
ConnectionPolicySid
type: SID<NY>The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
34
34
Sid
type: SID<NE>The unique string that we created to identify the Target resource to fetch.
^NE[0-9a-fA-F]{32}$
34
34
GET https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets
ConnectionPolicySid
type: SID<NY>The SID of the Connection Policy from which to read the Targets.
^NY[0-9a-fA-F]{32}$
34
34
PageSize
type: integerHow many resources to return in each list page. The default is 50, and the maximum is 1000.
1
Page
type: integerThe page index. This value is simply for client state.
0
POST https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
ConnectionPolicySid
type: SID<NY>The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
34
34
Sid
type: SID<NE>The unique string that we created to identify the Target resource to update.
^NE[0-9a-fA-F]{32}$
34
34
FriendlyName
type: stringA descriptive string that you create to describe the resource. It is not unique and can be up to 255 characters long.
Target
type: string<uri>The SIP address you want Twilio to route your calls to. This must be a sip:
schema. sips
is NOT supported.
Priority
type: integerThe relative importance of the target. Can be an integer from 0 to 65535, inclusive. The lowest number represents the most important target.
Weight
type: integerThe 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.
DELETE https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
ConnectionPolicySid
type: SID<NY>The SID of the Connection Policy that owns the Target.
^NY[0-9a-fA-F]{32}$
34
34
Sid
type: SID<NE>The unique string that we created to identify the Target resource to delete.
^NE[0-9a-fA-F]{32}$
34
34