---
title: "Create a signed webhook subscription"
method: POST
path: "/api/v1/webhooks"
---

# Create a signed webhook subscription

`POST /api/v1/webhooks`

## Request

- Base URL: `https://hivepublish.com`
- URL: `https://hivepublish.com/api/v1/webhooks`
- Auth: HTTP bearer

## Request body

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

## Response `201`

Webhook and one-time signing secret

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid credential
- `403`: Missing workspace scope, role permission, or plan entitlement

---

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