Fetch credential list
List of credentials for accessing a trunk
Path parameters
-
The SID of the Trunk from which to fetch the credential list.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^TK[0-9a-fA-F]{32}$
. -
The unique string that we created to identify the CredentialList resource to fetch.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^CL[0-9a-fA-F]{32}$
.
GET
/v1/Trunks/{TrunkSid}/CredentialLists/{Sid}
curl \
--request GET 'https://trunking.twilio.com/v1/Trunks/{TrunkSid}/CredentialLists/{Sid}' \
--user "username:password"
Response examples (200)
{
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"url": "https://trunking.twilio.com/v1/Trunks/TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/CredentialLists/CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"trunk_sid": "TKaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "2018-04-28T00:10:23Z",
"date_updated": "2018-04-28T00:10:23Z",
"friendly_name": "friendly_name"
}