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

# Create Webhook

`POST /api/webhooks/`

Create a new webhook

## Request body

- WebhookCreate — Schema for creating a new webhook.
  - `events` string[], required
  - `url` string, uri, required
  - `enabled` boolean

## Response `201`

Successful Response

- WebhookResponse — Response model for webhook API endpoints.
  - `events` string[], required
  - `url` string, uri, required
  - `enabled` boolean
  - `id` string, required
  - `secret` string, required

## Other responses

- `401` — Unauthorized: API key is missing, invalid, or inactive
- `422` — Unprocessable Entity: Invalid webhook data
- `500` — Internal Server Error: Unexpected server error

---

[API](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api.md) · [All operations](https://skmtc.net/e-invoice-be/apis/e-invoice-be-peppol-access-point-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/e-invoice-be/e-invoice-be-peppol-access-point-api/revisions/a5b8396effe8/schema)
