---
title: "Create Webhook"
method: POST
path: "/api/v1/webhooks"
tags: ["Webhooks"]
---

# Create Webhook

`POST /api/v1/webhooks`

## Request

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

Register a new webhook endpoint with optional address and event filters.

## Request body

- WebhookCreate
  - `url` string, uri, required
  - `secret` string, required
  - `label` string, required
  - `enabled` boolean
  - `addresses` string[], nullable
  - `events` string[], nullable

## Response `201`

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)
