---
title: "Add an IP or CIDR range"
method: POST
path: "/v1/endpoints/{id}/allowlist"
---

# Add an IP or CIDR range

`POST /v1/endpoints/{id}/allowlist`

## Request

- Base URL: `https://webhook-studio.com`
- URL: `https://webhook-studio.com/v1/endpoints/{id}/allowlist`
- Auth: HTTP bearer

The allowlist is deny-by-default once non-empty: adding the first entry starts rejecting every source not covered by it.

## Request body

- object
  - `cidr` string, required

## Response `201`

Created

## Other responses

- `400`: Error
- `401`: Error
- `404`: Error

---

[API](https://skmtc.dev/webhook-studio/apis/webhook-studio-api.md) · [All operations](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webhook-studio/apis/webhook-studio-api/revisions/99d81099e6d6?raw)
