---
title: "Create a webhook subscription"
method: POST
path: "/v1/brands/{brandId}/webhooks"
tags: ["webhooks"]
---

# Create a webhook subscription

`POST /v1/brands/{brandId}/webhooks`

## Request

- Base URL: `https://api.dispatchtickets.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dispatchtickets.com/v1/brands/{brandId}/webhooks`
- Auth: HTTP bearer

## Path parameters

- `brandId` string, required

## Request body

- CreateWebhookDto
  - `url` string, required
  - `secret` string, required
  - `events` string[], required: Events to subscribe to

## Response `201`

---

[API](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api.md) · [All operations](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dispatchtickets/apis/dispatch-tickets-api/revisions/5b6529457f28?raw)
