---
title: "Update a webhook"
method: PATCH
path: "/v1/webhooks/{id}"
tags: ["Webhooks"]
---

# Update a webhook

`PATCH /v1/webhooks/{id}`

Updates specific fields of a webhook endpoint

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateWebhookInputBody
  - `url` string, uri — New webhook URL. Must be an HTTP or HTTPS URL. NULL bytes not allowed.
  - `signing_key` string — New signing key. NULL bytes not allowed.
  - `enabled` boolean — Enable or disable the webhook
  - `tenant_id` string, nullable — Omit or send null to leave unchanged. Send empty string to clear (store as null).
  - `event_types` WebhookEventType[] — New list of event types (use empty array to clear). Each value must be one of WebhookEventType.

## Response `200`

OK

- WebhookData
  - `id` string, uuid, required — Webhook ID (UUID)
  - `url` string, required — URL that receives webhook POSTs
  - `signing_key` string, required — Key used to sign payloads (Standard Webhooks)
  - `enabled` boolean, required — Whether the webhook is active
  - `tenant_id` string — Tenant/organization identifier
  - `event_types` WebhookEventType[] — Event types this webhook subscribes to (empty = all)
  - `created_at` string, date-time, required — When the webhook was created
  - `updated_at` string, date-time, required — When the webhook was last updated
  - `disabled_reason` string, nullable — Read-only. Set by the system when the webhook was disabled (e.g. after 410 Gone or max delivery failures). Omitted when null.
  - `disabled_at` string, date-time, nullable — Read-only. When the webhook was disabled. Omitted when null. Cleared when the webhook is re-enabled via PATCH.

## Other responses

- `400` — Bad Request (e.g. invalid UUID)
- `404` — Not Found
- `default` — Error

## Changes

- **2026-03-05** `7af2577fe592` — 1 breaking, 1 warning, 2 info
  - the request property `tenant_id` became not nullable
  - changed the pattern of the request property `url` from `^[^\x00]*$` to `^https?://[^\x00]*$`
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
- **2026-02-24** `388b775b55ad` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/formbricks/apis/formbricks-hub-api/changes/v1/webhooks/:id/patch.md)

---

[API](https://skmtc.dev/formbricks/apis/formbricks-hub-api.md) · [All operations](https://skmtc.dev/formbricks/apis/formbricks-hub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/formbricks/formbricks-hub-api/revisions/7af2577fe592/schema)
