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

# Update webhook

`PATCH /v1/webhooks/{id}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/webhooks/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- UpdateWebhookRequest
  - `url` string, uri
  - `events` string[]
  - `is_active` boolean
  - `description` string

## Response `200`

Webhook updated

- WebhookResponse
  - `id` string, uuid, required
  - `url` string, uri, required
  - `events` string[], required
  - `is_active` boolean, required
  - `description` string
  - `created_at` string, date-time, required

## Other responses

- `400`: Invalid request
- `401`: Authentication required or invalid
- `404`: Resource not found

---

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