---
title: "Create a single webhook"
method: POST
path: "/admin/webhooks/create"
tags: ["Internal", "Admin", "Notifications"]
---

# Create a single webhook

`POST /admin/webhooks/create`

## Request body

- object
  - `url` string
  - `events` WebhookEventType[]
  - `secret` string

## Response `200`

The new webhook

- Webhook
  - `timestamp` string, date-time
  - `lastUsed` string, date-time, nullable
  - `url` string
  - `events` WebhookEventType[]
  - `id` integer

## Other responses

- `400` — Bad request
- `401` — Basic auth failure
- `default` — Unexpected error

---

[API](https://skmtc.net/owncast/apis/owncast-apis.md) · [All operations](https://skmtc.net/owncast/apis/owncast-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/owncast/owncast-apis/versions/d3510588e78e/schema)
