Sample - Twilio API
GET/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists/{IpAccessControlListSid}/IpAddresses.json

List IP addresses in an access control list

Lists the IP addresses associated with an IP access control list. Use the account and list identifiers in the path, and use the pagination parameters to navigate the returned collection.

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

5 parameters
AccountSidstringrequired
The unique identifier of the account responsible for the IP address resources. Must be a 34-character SID matching `AC` followed by 32 hexadecimal characters.
IpAccessControlListSidstringrequired
The unique identifier of the IP access control list whose addresses to list. Must be a 34-character SID matching `AL` followed by 32 hexadecimal characters.
PageSizeintegeroptional
The number of IP addresses 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 addresses with page bounds, page links, page index, page size, and IP address resources.
endintegeroptional
first_page_uristringoptional
next_page_uristringoptional
pageintegeroptional
page_sizeintegeroptional
previous_page_uristringoptional
startintegeroptional
uristringoptional
ip_addressesarray<object>optional

Error handling

AccountSid must be a 34-character account SID matching AC followed by 32 hexadecimal characters, and IpAccessControlListSid must be a 34-character list SID matching AL 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.