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

# Update webhook endpoint

`PATCH /webhooks/{id}`

## Request body

- object
  - `url` string, uri, required — The URL where webhook events will be sent (required by Svix API)
  - `events` WebhookEventEnum[] — List of event types to subscribe to
  - `description` string — Optional description for the webhook endpoint
  - `disabled` boolean — Whether to disable the endpoint

## Response `200`

OK

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Not Found

## Changes

- **2026-08-25** `be5636474c03` — 4 info
  - the security scope `org` was added to the endpoint's security scheme `OAuth2`
  - the security scope `org:write` was added to the endpoint's security scheme `OAuth2`
  - the security scope `user` was removed from the endpoint's security scheme `OAuth2`
  - the security scope `user:write` was removed from the endpoint's security scheme `OAuth2`
- **2026-08-15** `cdae4166b346` — 4 info
  - the security scope `org` was added to the endpoint's security scheme `OAuth2`
  - the security scope `org:write` was added to the endpoint's security scheme `OAuth2`
  - the security scope `user` was removed from the endpoint's security scheme `OAuth2`
  - the security scope `user:write` was removed from the endpoint's security scheme `OAuth2`

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

---

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