---
title: "Create Webhook Subscription"
method: POST
path: "/public/v1/webhook-subscriptions"
tags: ["Webhook subscriptions"]
---

# Create Webhook Subscription

`POST /public/v1/webhook-subscriptions`

This operation creates a new webhook subscription by specifying its details.

## Request body

- WebhookSubscriptionCreateRequest
  - `name` string, required — Set a name for the Webhooks subscription.
  - `url` string, url, required — Set the Webhooks subscription URL.
  - `active` boolean — Set the status of the Webhooks subscription.
  - `payload` WebhookSubscriptionPayloadEnum[], nullable — Set a payload structure.
  - `triggers` WebhookSubscriptionTriggerEnum[], nullable, required — Set trigger events for the Webhooks subscription.

## Response `201`

Webhook subscription created

- WebhookSubscriptionItemResponse
  - `uuid` string, uuid, nullable
  - `name` string
  - `url` string, url
  - `active` boolean
  - `payload` WebhookSubscriptionPayloadEnum[], nullable
  - `triggers` WebhookSubscriptionTriggerEnum[], nullable
  - `workspace_id` string
  - `shared_key` string
  - `status` 'ACTIVE' | 'INACTIVE' | 'DEACTIVATED'

## Other responses

- `400` — Bad Request
- `401` — Authentication error
- `403` — Permission error
- `429` — Too Many Requests

---

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