---
title: "Update Webhook"
method: PATCH
path: "/v1/webhooks/{webhook_id}"
tags: ["Webhooks"]
---

# Update Webhook

`PATCH /v1/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.pinbridge.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pinbridge.io/v1/webhooks/{webhook_id}`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Update webhook fields.

## Path parameters

- `webhook_id` string, uuid, required

## Headers

- `x-api-key` string, nullable
- `authorization` string, nullable

## Request body

- WebhookUpdate: Request schema for updating a webhook.
  - `url` string, uri, nullable: Webhook endpoint URL
  - `secret` string, nullable: Secret for HMAC signing (min 16 chars)
  - `events` string[], nullable: Event types to subscribe to
  - `is_enabled` boolean, nullable: Whether this webhook is active

## Response `200`

Successful Response

- WebhookResponse: Response schema for a webhook.
  - `id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `url` string, required
  - `events` string[], required
  - `is_enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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