Fetch connection policy target
Network element entry points into your communications infrastructure
Path parameters
-
The SID of the Connection Policy that owns the Target.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^NY[0-9a-fA-F]{32}$
. -
The unique string that we created to identify the Target resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^NE[0-9a-fA-F]{32}$
.
GET
/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}
curl \
--request GET 'https://voice.twilio.com/v1/ConnectionPolicies/{ConnectionPolicySid}/Targets/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "NEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://voice.twilio.com/v1/ConnectionPolicies/NYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Targets/NEaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"target": "sip:sip-box.com:1234",
"weight": 20,
"enabled": true,
"priority": 1,
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2020-03-18T23:31:36Z",
"date_updated": "2020-03-18T23:31:37Z",
"friendly_name": "friendly_name",
"connection_policy_sid": "NYaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}