---
title: "Update Webhook Subscription"
method: PATCH
path: "/public/v1/webhook-subscriptions/{id}"
tags: ["Webhook subscriptions"]
---

# Update Webhook Subscription

`PATCH /public/v1/webhook-subscriptions/{id}`

This operation updates the details of a webhook subscription.

## Path parameters

- `id` string, uuid, required

## Request body

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

## Response `200`

Webhook subscription updated

- 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
- `404` — Not found
- `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)
