SIP IpAccessControlListMapping Resource
IpAccessControlListMapping resources contain the list of IpAccessControlList resources associated with this domain. IpAccessControlList resources contain the IpAddress resources that describe the IP addresses with access to the SIP Domain.
When an INVITE is received for a SIP Domain, the source IP address must be in one of the mapped lists to be accepted.
Property nameTypePIIDescription
The SID of the Account that created the IpAccessControlListMapping 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 IpAccessControlListMapping resource.
Pattern: ^AL[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/Calls/IpAccessControlListMappings.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
IpAccessControlListSidSID<AL>required The SID of the IpAccessControlList resource to map to the SIP domain.
Pattern: ^AL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_20// Download the helper library from https://www.twilio.com/docs/node/install
_20const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_20// Find your Account SID and Auth Token at twilio.com/console
_20// and set the environment variables. See http://twil.io/secure
_20const accountSid = process.env.TWILIO_ACCOUNT_SID;
_20const authToken = process.env.TWILIO_AUTH_TOKEN;
_20const client = twilio(accountSid, authToken);
_20async function createSipAuthCallsIpAccessControlListMapping() {
_20 const ipAccessControlListMapping = await client.sip
_20 .domains("SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
_20 .auth.calls.ipAccessControlListMappings.create({
_20 ipAccessControlListSid: "ALXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_20 console.log(ipAccessControlListMapping.accountSid);
_20createSipAuthCallsIpAccessControlListMapping();
_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": "ALaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the IpAccessControlListMapping 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 IpAccessControlListMapping resource to fetch.
Pattern: ^AL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_21// Download the helper library from https://www.twilio.com/docs/node/install
_21const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_21// Find your Account SID and Auth Token at twilio.com/console
_21// and set the environment variables. See http://twil.io/secure
_21const accountSid = process.env.TWILIO_ACCOUNT_SID;
_21const authToken = process.env.TWILIO_AUTH_TOKEN;
_21const client = twilio(accountSid, authToken);
_21async function fetchSipAuthCallsIpAccessControlListMapping() {
_21 const ipAccessControlListMapping = await client.sip
_21 .domains("SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
_21 .auth.calls.ipAccessControlListMappings(
_21 "ALXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_21 console.log(ipAccessControlListMapping.accountSid);
_21fetchSipAuthCallsIpAccessControlListMapping();
_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": "ALXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the IpAccessControlListMapping 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.
_18// Download the helper library from https://www.twilio.com/docs/node/install
_18const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_18// Find your Account SID and Auth Token at twilio.com/console
_18// and set the environment variables. See http://twil.io/secure
_18const accountSid = process.env.TWILIO_ACCOUNT_SID;
_18const authToken = process.env.TWILIO_AUTH_TOKEN;
_18const client = twilio(accountSid, authToken);
_18async function listSipAuthCallsIpAccessControlListMapping() {
_18 const ipAccessControlListMappings = await client.sip
_18 .domains("SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
_18 .auth.calls.ipAccessControlListMappings.list({ limit: 20 });
_18 ipAccessControlListMappings.forEach((i) => console.log(i.accountSid));
_18listSipAuthCallsIpAccessControlListMapping();
_11 "first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SIP/Domains/SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Auth/Calls/IpAccessControlListMappings.json?PageSize=50&Page=0",
_11 "previous_page_uri": null,
_11 "uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/SIP/Domains/SDaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Auth/Calls/IpAccessControlListMappings.json?PageSize=50&Page=0",
_11 "next_page_uri": null,
DELETE https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/Auth/Calls/IpAccessControlListMappings/{Sid}.json
Property nameTypeRequiredPIIDescription
AccountSidSID<AC>required The SID of the Account that created the IpAccessControlListMapping 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 IpAccessControlListMapping resource to delete.
Pattern: ^AL[0-9a-fA-F]{32}$
Min length: 34
Max length: 34
_19// Download the helper library from https://www.twilio.com/docs/node/install
_19const twilio = require("twilio"); // Or, for ESM: import twilio from "twilio";
_19// Find your Account SID and Auth Token at twilio.com/console
_19// and set the environment variables. See http://twil.io/secure
_19const accountSid = process.env.TWILIO_ACCOUNT_SID;
_19const authToken = process.env.TWILIO_AUTH_TOKEN;
_19const client = twilio(accountSid, authToken);
_19async function deleteSipAuthCallsIpAccessControlListMapping() {
_19 .domains("SDXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
_19 .auth.calls.ipAccessControlListMappings(
_19 "ALXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
_19deleteSipAuthCallsIpAccessControlListMapping();