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

# Create webhook

`POST /webhooks`

## Request body

- object
  - `url` string, uri, required — HTTPS URL
  - `eventTypes` EventType[], required

## Response `201`

Webhook created

- object
  - `id` string, required
  - `url` string, uri, required
  - `secret` string, required
  - `eventTypes` EventType[], required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated

---

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