---
title: "List IP allowlist rules"
method: GET
path: "/v1/ip-allowlist"
tags: ["IP Allowlist"]
---

# List IP allowlist rules

`GET /v1/ip-allowlist`

This endpoint allows you to list all the IP allowlist rules of your workspace.

The response contains the list of IP allowlist rules and a pagination cursor to retrieve the next page.

If you are using a personal access token, you need to have an access level superior or equal to `manager`.

## Query parameters

- `cursor` string
- `per_page` integer
- `search` string — Search IP allowlist rules based on their tag and/or the IP ranges.
- `ordering` 'created_at' | '-created_at' | 'tag' | '-tag'

## Response `200`

List IP allowlist rules

- object[]
  - `id` string, uuid
  - `tag` string — Tag for the IP allowlist rule
  - `created_at` string, date-time — Creation date of the IP allowlist rule
  - `ip_ranges` string[] — The IP addresses (individual IPs or CIDR notation) included in the IP allowlist rule

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden Call
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
