POST
/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/CredentialListMappings.jsonCreate a call credential list mapping
Creates a credential list mapping for calls on a SIP domain. Supply CredentialListSid to identify the credential list to map; the account and domain SIDs identify where the mapping is created.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
AccountSidstringrequired
The 34-character account SID, beginning with `AC` and followed by 32 hexadecimal characters, that owns the new mapping.
DomainSidstringrequired
The 34-character SIP domain SID, beginning with `SD` and followed by 32 hexadecimal characters, where the mapping is created.
Credential list mapping details.
CredentialListSidstringrequired
The SID of the CredentialList resource to map to the SIP domain.
201Returns the created credential list mapping, including its SID, friendly name, and creation and update dates.
account_sidstringoptional
The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the CredentialListMapping resource.
date_createdstringoptional
The date and time in GMT that the resource was created specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
date_updatedstringoptional
The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
friendly_namestringoptional
The string that you assigned to describe the resource.
sidstringoptional
The unique string that that we created to identify the CredentialListMapping resource.
Error handling
The AccountSid must be a 34-character account SID beginning with AC, and DomainSid must be a 34-character SIP domain SID beginning with SD; each must end with 32 hexadecimal characters. CredentialListSid is required and must be a 34-character credential list SID beginning with CL and ending with 32 hexadecimal characters.