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

# Update webhook

`PATCH /api/v1/webhooks/{id}`

## Request

- Base URL: `https://numonic.ai`
- URL: `https://numonic.ai/api/v1/webhooks/{id}`
- Auth: API key in header `x-api-key`

Update a webhook subscription (URL, events, enabled status).

## Path parameters

- `id` string, required: Webhook hash (40-char hex SHA-1)

## Request body

- UpdateWebhookRequest
  - `name` string
  - `description` string
  - `url` string, uri
  - `events` string[]: Event types to subscribe to (e.g., asset.created)
  - `enabled` boolean
  - `timeout_ms` integer

## Response `200`

Webhook updated

- WebhookResponse
  - `id` string, required: Webhook hash (SHA-1)
  - `name` string, required
  - `url` string, uri, required
  - `events` string[], required
  - `enabled` boolean, required
  - `timeout_ms` integer, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `404`: Webhook not found

---

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