---
title: "Update webhook"
method: PUT
path: "/v1/communities/{communityId}/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /v1/communities/{communityId}/webhooks/{webhookId}`

## Request

- Base URL: `https://api.subo.ai`
- URL: `https://api.subo.ai/v1/communities/{communityId}/webhooks/{webhookId}`
- Auth: API key in header `X-API-Key`

Update URL, name, events, or active status. Does not rotate the signing secret. Subscribing to `response.submitted` **requires Premium tier or above** — Basic-tier keys receive a `402`.

## Path parameters

- `communityId` string, required
- `webhookId` string, required

## Request body

- object: All fields optional. Only provided fields are updated.
  - `url` string, uri: Same rule as on create: `https://`, public addresses only.
  - `name` string
  - `events` string[]
  - `is_active` boolean

## Response `200`

Updated webhook

- object
  - `data` Webhook
    - `id` string
    - `community_id` string
    - `name` string, nullable
    - `url` string
    - `events` string[]
    - `secret_prefix` string
    - `is_active` boolean
    - `created_at` string, date-time, nullable
    - `updated_at` string, date-time, nullable

## Other responses

- `400`: Invalid request body
- `401`: Invalid or missing API key
- `402`: Subscribing to `response.submitted` requires Premium or above
- `403`: Forbidden — the key or user lacks permission for this resource or operation
- `404`: Resource not found
- `429`: Rate limit exceeded — wait `retry_after` seconds before retrying. The same value appears in the `Retry-After` header.

---

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