Create a new credential list mapping resource
Credential lists for SIP calls
Create a new credential list mapping resource
Path parameters
-
The SID of the Account that will create the resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^AC[0-9a-fA-F]{32}$
. -
The SID of the SIP domain that will contain the new resource.
Minimum length is
34
, maximum length is34
. Format should match the following pattern:^SD[0-9a-fA-F]{32}$
.
POST
/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json
curl \
--request POST 'https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.json' \
--user "username:password" \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'CredentialListSid=CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
Request example
{"CredentialListSid"=>"CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}
Response examples (201)
{
"sid": "CLaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"date_created": "Thu, 30 Jul 2015 20:00:00 +0000",
"date_updated": "Thu, 30 Jul 2015 20:00:00 +0000",
"friendly_name": "friendly_name"
}