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

# Update a webhook

`PATCH /v1/webhooks/{id}`

## Request

- Base URL: `https://anjal.app`
- URL: `https://anjal.app/v1/webhooks/{id}`
- Auth: API key in header `X-API-Key`

Change url, events, or enabled state.

## Request body

- object
  - `url` string, uri
  - `events` WebhookEvent[]
  - `isActive` boolean

## Response `200`

Updated

---

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