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

# Create a webhook

`POST /webhooks`

## Request

- Base URL: `https://demarker.io/api/v1`
- URL: `https://demarker.io/api/v1/webhooks`
- Auth: HTTP bearer

https URLs only. The signing secret is shown once.

## Request body

- object
  - `url` string, uri, required
  - `events` string[]

## Response `200`

OK

- object

## Other responses

- `201`: Created
- `default`: Error

---

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