---
title: "Register a webhook"
method: POST
path: "/api/v1/webhooks"
tags: ["webhooks"]
---

# Register a webhook

`POST /api/v1/webhooks`

## Request

- Base URL: `https://horizon.alchemylab.sh`
- URL: `https://horizon.alchemylab.sh/api/v1/webhooks`
- Auth: HTTP bearer

Newly-matched items (by topic/entity/keyword, or all) are POSTed to your URL, HMAC-signed. The signing secret is returned once.

## Request body

- object
  - `url` string, uri, required
  - `topics` string[]
  - `entities` string[]
  - `keywords` string[]

## Response `201`

Created (signing secret included once).

- object

## Other responses

- `400`: Error
- `401`: Error

---

[API](https://skmtc.dev/alchemylab/apis/horizon-api.md) · [All operations](https://skmtc.dev/alchemylab/apis/horizon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/alchemylab/apis/horizon-api/revisions/936cb3804026?raw)
