---
title: "POST /api/v1/webhooks"
method: POST
path: "/api/v1/webhooks"
tags: ["Webhooks"]
---

# POST /api/v1/webhooks

`POST /api/v1/webhooks`

## Request

- Base URL: `https://send21.io`
- URL: `https://send21.io/api/v1/webhooks`
- Auth: HTTP bearer

## Request body

- CreateWebhookRequest
  - `url` string, nullable
  - `events` string[], nullable

## Response `200`

OK

- WebhookCreatedResponse
  - `id` string, uuid
  - `secret` string, nullable
  - `warning` string, nullable

---

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