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

Get an IP access control list

Retrieves a specific IP access control list for an account. Supply the account identifier and the list identifier in the path, using the required SID prefixes and 34-character format.

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

2 parameters
AccountSidstringrequired
The unique identifier of the account responsible for the IP access control list. Must be a 34-character SID matching `AC` followed by 32 hexadecimal characters.
Sidstringrequired
The unique identifier of the IP access control list to retrieve. Must be a 34-character SID matching `AL` followed by 32 hexadecimal characters.

1 status code
200Returns the IP access control list, including its SID, owning account SID, friendly name, creation and update timestamps, associated IP address resource URI map, and resource URI.
sidstringoptional
A 34 character string that uniquely identifies this resource.
account_sidstringoptional
The unique id of the [Account](https://www.twilio.com/docs/iam/api/account) that owns this resource.
friendly_namestringoptional
A human readable descriptive text, up to 255 characters long.
date_createdstringoptional
The date that this resource was created, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
date_updatedstringoptional
The date that this resource was last updated, given as GMT in [RFC 2822](https://www.php.net/manual/en/class.datetime.php#datetime.constants.rfc2822) format.
subresource_urisobjectoptional
A list of the IpAddress resources associated with this IP access control list resource.
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`

Error handling

AccountSid must be a 34-character account SID matching AC followed by 32 hexadecimal characters. Sid must be a 34-character IP access control list SID matching AL followed by 32 hexadecimal characters, and both identifiers must refer to the requested resource hierarchy.