Retrieve a list of IpAccessControlLists that belong to the account used to make the request

GET /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json

Access control lists of IP address resources

Retrieve a list of IpAccessControlLists that belong to the account used to make the request

Path parameters

Query parameters

  • PageSize integer

    How many resources to return in each list page. The default is 50, and the maximum is 1000.

    Minimum value is 1, maximum value is 1000.

Responses

  • OK

    Hide response attributes Show response attributes object
    • end integer
    • first_page_uri string(uri)
    • Hide ip_access_control_lists attributes Show ip_access_control_lists attributes array[object]
      • account_sid string | null

        The unique sid that identifies this account

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AC[0-9a-fA-F]{32}$.

      • date_created string(date-time-rfc-2822) | null

        The date this resource was created

      • date_updated string(date-time-rfc-2822) | null

        The date this resource was last updated

      • friendly_name string | null

        A human readable description of this resource

      • sid string | null

        A string that uniquely identifies this resource

        Minimum length is 34, maximum length is 34. Format should match the following pattern: ^AL[0-9a-fA-F]{32}$.

      • subresource_uris object(uri-map) | null

        The IP addresses associated with this resource.

      • uri string(uri) | null

        The URI for this resource

    • next_page_uri string(uri)
    • page integer
    • page_size integer
    • start integer
    • uri string(uri)
GET /2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json
curl \
 -X GET https://api.twilio.com/2010-04-01/Accounts/{AccountSid}/SIP/IpAccessControlLists.json \
 --user "username:password"
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "ip_access_control_lists": [
    {
      "account_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "friendly_name": "string",
      "sid": "string",
      "subresource_uris": {},
      "uri": "https://example.com"
    }
  ],
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "start": 42,
  "uri": "https://example.com"
}
Response examples (200)
{
  "end": 42,
  "first_page_uri": "https://example.com",
  "ip_access_control_lists": [
    {
      "account_sid": "string",
      "date_created": "string",
      "date_updated": "string",
      "friendly_name": "string",
      "sid": "string",
      "subresource_uris": {},
      "uri": "https://example.com"
    }
  ],
  "next_page_uri": "https://example.com",
  "page": 42,
  "page_size": 42,
  "previous_page_uri": "https://example.com",
  "start": 42,
  "uri": "https://example.com"
}