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

# Create Webhook Config

`POST /api/webhooks`

## Request

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

Create or replace webhook configuration

## Request body

- WebhookCreateRequest
  - `url` string, uri, required
  - `events` string[], nullable

## Response `201`

Successful Response

- WebhookCreateResponse
  - `id` string, uuid, required
  - `url` string, required
  - `events` string[], required
  - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `secret` string, required

## Other responses

- `422`: Validation Error

---

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