---
title: "Retrieve an IP allowlist rule"
method: GET
path: "/v1/ip-allowlist/{ip_allowlist_rule_id}"
tags: ["IP Allowlist"]
---

# Retrieve an IP allowlist rule

`GET /v1/ip-allowlist/{ip_allowlist_rule_id}`

Retrieve an existing IP allowlist rule.

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

## Path parameters

- `ip_allowlist_rule_id` string, uuid, required

## Response `200`

IP allowlist rule details

- 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
- `404` — IP allowlist rule not found
- `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)
