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

# Update a webhook

`PUT /api/webhooks/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateWebhookDto
  - `topic` string
  - `url` string, uri
  - `secret` string, nullable
  - `active` boolean
  - `hidden` boolean
  - `filters` object, nullable, required
    - `channelIds` string[]
  - `headers` object, nullable, required

## Response `200`

Webhook updated successfully

---

[API](https://skmtc.net/vambe/apis/vambe-ai-api.md) · [All operations](https://skmtc.net/vambe/apis/vambe-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vambe/vambe-ai-api/revisions/e206709d4be5/schema)
