---
title: "List the whitelist ip address for an agency"
method: GET
path: "/agency/{agency_id}/ip-whitelist"
tags: ["Agency ip-whitelist"]
---

# List the whitelist ip address for an agency

`GET /agency/{agency_id}/ip-whitelist`

## Query parameters

- `page` integer
- `items_per_page` integer
- `ip` string

## Response `200`

The list whitelist ip for specific agency

- IpWhitelistResponseDef[]
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `ip` string, ipv4, required
  - `description` string, required

## Other responses

- `204` — No Content. There were no records to return based on your query.
- `400` — Validation error on get list
- `401` — Failed to authenticate the user making the request
- `403` — Permission denied error
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/6e2cb83db3a9?raw)
