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

# Update webhook

`PATCH /webhooks/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `url` string, uri
  - `eventTypes` EventType[] — Array of event types to subscribe to.
  - `isActive` boolean

## Response `200`

Webhook updated

- Webhook — Webhook endpoint registered to receive event deliveries.
  - `id` string, required
  - `url` string, uri, required
  - `eventTypes` EventType[], required — Array of event types to subscribe to.
  - `isActive` boolean, required
  - `createdAt` string, date-time, required

## Other responses

- `400` — Invalid input
- `401` — Unauthenticated
- `402` — Payment required. Returns a WWW-Authenticate header with an MPP challenge for pay-per-use endpoints, or indicates a subscription/credit issue for identity-authenticated endpoints.
- `404` — Not found

## Changes

- **2026-04-25** `2adc33156b4b` — 2 breaking, 6 warning, 11 info
  - removed the enum value `follower.gained` of the request property `eventTypes/items/`
  - removed the enum value `follower.lost` of the request property `eventTypes/items/`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `400`
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - …15 more

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

---

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