---
title: "Create Webhook Config"
method: POST
path: "/api/v1/webhooks/configs"
tags: ["Webhooks"]
---

# Create Webhook Config

`POST /api/v1/webhooks/configs`

## Request

- Base URL: `https://api.allpdfmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.allpdfmagic.com/api/v1/webhooks/configs`
- Auth: HTTP bearer

Create a new webhook configuration.

## Request body

- WebhookConfigCreate
  - `webhook_url` string, uri, required
  - `webhook_secret` string, nullable
  - `event_types` string[]: List of event types to subscribe to

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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