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

# Update a webhook

`PUT /webhooks/{id}`

## Request

- Base URL: `https://corebee.ai/api/v1`
- URL: `https://corebee.ai/api/v1/webhooks/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- WebhookCreate
  - `url` string, uri, required
  - `events` string[], required
  - `secret` string: Optional HMAC signing secret. Auto-generated and stored encrypted when omitted.
  - `enabled` boolean

## Response `200`

Updated

- object
  - `data` Webhook, required
    - `id` string, uuid
    - `org_id` string, uuid
    - `url` string, uri
    - `events` string[]
    - `is_active` boolean
    - `created_at` string, date-time

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credential
- `404`: Not found

---

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