SIP Domain Registration CredentialListMapping Resource
The SIP Domain Registration CredentialListMappings subresource represents the CredentialList instances associated with this domain's registration.
If a domain registration is received for a domain with a Credential List mapped to it, Twilio will challenge the request. Your system will need to authenticate with a username and password. The username and password must be in one of the mapped lists for the registration to be accepted
Property nameTypePIIDescription
The SID of the Account that created the CredentialListMapping resource.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
date_createdstring<date-time-rfc-2822>
date_updatedstring<date-time-rfc-2822>
The string that you assigned to describe the resource.
The unique string that that we created to identify the CredentialListMapping resource.
Pattern: ^CL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
POST https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that will create the resource.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the SIP domain that will contain the new resource.
Pattern: ^SD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Property nameTypeRequiredPIIDescription
CredentialListSidSID<CL>required The SID of the CredentialList resource to map to the SIP domain.
Pattern: ^CL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_13// Download the helper library from https://www.twilio.com/docs/node/install
_13// Find your Account SID and Auth Token at twilio.com/console
_13// and set the environment variables. See http://twil.io/secure
_13const accountSid = process.env.TWILIO_ACCOUNT_SID;
_13const authToken = process.env.TWILIO_AUTH_TOKEN;
_13const client = require('twilio')(accountSid, authToken);
_13client.sip.domains('SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_13 .credentialListMappings
_13 .create({credentialListSid: 'CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'})
_13 .then(auth_registrations_credential_list_mapping => console.log(auth_registrations_credential_list_mapping.sid));
_10 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_10 "date_created": "Thu, 30 Jul 2015 20:00:00 +0000",
_10 "date_updated": "Thu, 30 Jul 2015 20:00:00 +0000",
_10 "friendly_name": "friendly_name",
_10 "sid": "CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the CredentialListMapping resource to fetch.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the SIP domain that contains the resource to fetch.
Pattern: ^SD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the CredentialListMapping resource to fetch.
Pattern: ^CL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_13// Download the helper library from https://www.twilio.com/docs/node/install
_13// Find your Account SID and Auth Token at twilio.com/console
_13// and set the environment variables. See http://twil.io/secure
_13const accountSid = process.env.TWILIO_ACCOUNT_SID;
_13const authToken = process.env.TWILIO_AUTH_TOKEN;
_13const client = require('twilio')(accountSid, authToken);
_13client.sip.domains('SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_13 .credentialListMappings('CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_13 .then(auth_registrations_credential_list_mapping => console.log(auth_registrations_credential_list_mapping.friendlyName));
_10 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_10 "date_created": "Thu, 30 Jul 2015 20:00:00 +0000",
_10 "date_updated": "Thu, 30 Jul 2015 20:00:00 +0000",
_10 "friendly_name": "friendly_name",
_10 "sid": "CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the CredentialListMapping resources to read.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the SIP domain that contains the resources to read.
Pattern: ^SD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
Property nameTypeRequiredPIIDescription
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum: 1
Maximum: 1000
The page index. This value is simply for client state.
Minimum: 0
The page token. This is provided by the API.
_13// Download the helper library from https://www.twilio.com/docs/node/install
_13// Find your Account SID and Auth Token at twilio.com/console
_13// and set the environment variables. See http://twil.io/secure
_13const accountSid = process.env.TWILIO_ACCOUNT_SID;
_13const authToken = process.env.TWILIO_AUTH_TOKEN;
_13const client = require('twilio')(accountSid, authToken);
_13client.sip.domains('SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_13 .credentialListMappings
_13 .then(credentialListMappings => credentialListMappings.forEach(c => console.log(c.sid)));
_19 "first_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/SIP/Domains/SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Auth/Registrations/CredentialListMappings.json?PageSize=50&Page=0",
_19 "previous_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/SIP/Domains/SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Auth/Registrations/CredentialListMappings.json?PageSize=50&Page=0",
_19 "account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_19 "date_created": "Thu, 30 Jul 2015 20:00:00 +0000",
_19 "date_updated": "Thu, 30 Jul 2015 20:00:00 +0000",
_19 "friendly_name": "friendly_name",
_19 "sid": "CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_19 "uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/SIP/Domains/SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Auth/Registrations/CredentialListMappings.json?PageSize=50&Page=0",
_19 "next_page_uri": "/2010-04-01/Accounts/ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/SIP/Domains/SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/Auth/Registrations/CredentialListMappings.json?PageSize=50&Page=50",
DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Registrations/CredentialListMappings/{Sid}.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the CredentialListMapping resources to delete.
Pattern: ^AC[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The SID of the SIP domain that contains the resources to delete.
Pattern: ^SD[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
The Twilio-provided string that uniquely identifies the CredentialListMapping resource to delete.
Pattern: ^CL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_12// Download the helper library from https://www.twilio.com/docs/node/install
_12// Find your Account SID and Auth Token at twilio.com/console
_12// and set the environment variables. See http://twil.io/secure
_12const accountSid = process.env.TWILIO_ACCOUNT_SID;
_12const authToken = process.env.TWILIO_AUTH_TOKEN;
_12const client = require('twilio')(accountSid, authToken);
_12client.sip.domains('SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
_12 .credentialListMappings('CLXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')