---
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 — Omit to leave unchanged. Empty strings are rejected; webhooks cannot be global.
  - `event_types` WebhookEventType[] — New list of event types (use empty array to clear). Each value must be one of WebhookEventType.

## Response `200`

OK. Returns WebhookPublicData (signing_key omitted).

- WebhookPublicData — Webhook data for GET and LIST responses; signing_key is omitted for security
  - `id` string, uuid, required — Webhook ID (UUID)
  - `url` string, required — URL that receives webhook POSTs
  - `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. Omitted when null.
  - `disabled_at` string, date-time, nullable — Read-only. When the webhook was disabled. Omitted when null.

## Other responses

- `400` — Bad Request (e.g. invalid UUID)
- `404` — Not Found
- `409` — Conflict (code `tenant_write_conflict`) – the update could not be serialized against a tenant data purge in progress for this webhook's current (or target) tenant, or the webhook was modified concurrently. The conflict is transient; retry the request.
- `default` — Error

## Changes

- **2026-06-26** `17c77a1a3031` — 4 warning
  - added the new `content_too_large` enum value to the `code` response property for the response status `400`
  - added the new `content_too_large` enum value to the `code` response property for the response status `404`
  - added the new `content_too_large` enum value to the `code` response property for the response status `409`
  - added the new `content_too_large` enum value to the `code` response property for the response status `default`
- **2026-06-16** `d2fa5d9f2e98` — 3 warning, 1 info
  - added the new `tenant_write_conflict` enum value to the `code` response property for the response status `400`
  - added the new `tenant_write_conflict` enum value to the `code` response property for the response status `404`
  - added the new `tenant_write_conflict` enum value to the `code` response property for the response status `default`
  - added the non-success response with the status `409`
- **2026-06-03** `6907a0a9de00` — 3 breaking, 3 warning, 18 info
  - the `instance` response's property type/format changed from `string`/`uri` to `string`/`` for status `400`
  - the `instance` response's property type/format changed from `string`/`uri` to `string`/`` for status `404`
  - the `instance` response's property type/format changed from `string`/`uri` to `string`/`` for status `default`
  - removed the optional property `errors` from the response with the `400` status
  - …20 more
- …earlier changes not shown

[Full 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/84bba639c72b/schema)
