Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/SIP/Domains/{DomainSid}/IpAccessControlListMappings.json

List IP access control list mappings

Lists the IP access control list mappings associated with a SIP domain. Use Page, PageSize, and PageToken to navigate the paginated collection and control the number of resources returned.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

5 parameters
AccountSidstringrequired
The unique identifier of the account responsible for the mappings. Must be a 34-character SID matching `AC` followed by 32 hexadecimal characters.
DomainSidstringrequired
The unique identifier of the SIP domain whose mappings to list. Must be a 34-character SID matching `SD` followed by 32 hexadecimal characters.
PageSizeintegeroptional
The number of mappings to return per page. Must be between 1 and 1000 and defaults to 50 when omitted.
Pageintegeroptional
The zero-based page index used to track client pagination state. Defaults to the API's initial page when omitted.
PageTokenstringoptional
The pagination token provided by the API for retrieving a specific page. Omit it when starting a new listing.

1 status code
200Returns a paginated collection of IP access control list mappings with page bounds, page links, page index, page size, and mapping resources.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
ip_access_control_list_mappingsarray<object>optional

Error handling

AccountSid must be a 34-character account SID matching AC followed by 32 hexadecimal characters, and DomainSid must be a 34-character SIP domain SID matching SD followed by 32 hexadecimal characters. PageSize must be between 1 and 1000, while Page must be zero or greater; PageSize defaults to 50 when omitted.