---
title: "Create webhook"
method: POST
path: "/public/v1/webhooks/"
tags: ["Webhooks"]
---

# Create webhook

`POST /public/v1/webhooks/`

Register a webhook endpoint for events. The signing secret is returned once and never shown again.

## Headers

- `Idempotency-Key` string

## Request body

- WebhookSchemaCreateIn
  - `url` string, required
  - `topics` string[]

## Response `201`

Created

- WebhookCreateSchemaOut
  - `uuid` string, required
  - `url` string, required
  - `topics` string[], required
  - `is_active` boolean, required
  - `disabled_at` string, nullable
  - `disabled_reason` string
  - `created_at` string, required
  - `last_modified_at` string, required
  - `secret` string, required

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content

---

[API](https://skmtc.dev/dualentry/apis/dualentry-public-api-2.md) · [All operations](https://skmtc.dev/dualentry/apis/dualentry-public-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api-2/revisions/d0cd912ee42d/schema)
