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

# Update webhook

`PATCH /v1/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.framelane.io`
- URL: `https://api.framelane.io/v1/webhooks/{webhook_id}`
- Auth: HTTP bearer

Update a webhook's URL, subscribed event types, or enabled state. Omitted fields are left unchanged.

## Path parameters

- `webhook_id` string, required

## Request body

- WebhookUpdate
  - `url` string, uri, nullable
  - `events` WebhookEvent[], nullable
  - `enabled` boolean, nullable

## Response `200`

Successful Response

- WebhookOut
  - `id` string, required
  - `url` string, required
  - `events` string[], required
  - `enabled` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Webhook not found.
- `422`: Validation Error

---

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