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

# Create Webhook

`POST /v1/webhooks/`

## Request

- Base URL: `https://api.karma.domains`
- URL: `https://api.karma.domains/v1/webhooks/`
- Auth: HTTP bearer

Create a webhook subscription. The signing secret is returned once.

`kind=filter` sends `domain.matched_filter` when a report starts matching
the same filters as `POST /v1/reports/search`. `kind=reports` watches
specific reports for auction changes and for this account's note, tag, and
favorite changes. `kind=user` sends `usertask.created` and
`usertask.completed` and does not take a report list.
Zapier, Make, n8n, and IFTTT use the HTTPS URL from their webhook trigger.

## Request body

- WebhookSubscriptionBody
  - `kind` string, required
  - `url` string, required
  - `events` string[], required
  - `filter` object, nullable
  - `bases` string[], nullable
  - `max_events_per_run` integer, nullable
  - `ending_soon_seconds` integer, nullable
  - `reports` WebhookReportRef[], nullable
    - `report_type` string, required
    - `report_id` string, required
    - `domain` string, nullable

## Response `200`

Successful Response

- WebhookSubscriptionResponse
  - `id` string, required
  - `kind` string, required
  - `url` string, required
  - `status` string, required
  - `events` string[], required
  - `filter` object, nullable
  - `bases` string[], nullable
  - `max_events_per_run` integer, nullable
  - `ending_soon_seconds` integer, nullable
  - `reports` object[], nullable
  - `created_at` integer, nullable
  - `updated_at` integer, nullable
  - `disabled_reason` string, nullable
  - `cursor_changed_at` integer, nullable
  - `secret` string, nullable

## Other responses

- `402`: Payment required — x402 agent credits. Read PAYMENT-REQUIRED header (base64 JSON) and retry same URL with PAYMENT-SIGNATURE and optional X-Karma-Plan-Id.
- `422`: Validation Error

## Changes

- **2026-11-05** `46cc2e2767b0`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/karma/apis/karma-domains-public-api/changes/v1/webhooks/post.md)

---

[API](https://skmtc.dev/karma/apis/karma-domains-public-api.md) - [All operations](https://skmtc.dev/karma/apis/karma-domains-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/karma/apis/karma-domains-public-api/revisions/a86fc0bfa15d?raw)
