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

# Update Webhook

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

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/webhooks/{label}`
- Auth: API key in header `X-API-Key`

Update a webhook endpoint by label (must be owned by the caller).

## Path parameters

- `label` string, required

## Request body

- WebhookUpdate
  - `url` string, uri, nullable
  - `secret` string, nullable
  - `enabled` boolean, nullable
  - `addresses` string[], nullable
  - `events` string[], nullable
  - `clear_addresses` boolean
  - `clear_events` boolean

## Response `200`

Successful Response

- WebhookOut
  - `id` integer, required
  - `url` string, required
  - `label` string, required
  - `enabled` boolean, required
  - `addresses` string[], nullable
  - `events` string[], nullable
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
