---
title: "Create webhook endpoint (Business+)"
method: POST
path: "/api/webhooks"
tags: ["Webhooks"]
---

# Create webhook endpoint (Business+)

`POST /api/webhooks`

## Request

- Base URL: `https://arc-relay.com`
- URL: `https://arc-relay.com/api/webhooks`
- Auth: HTTP bearer

## Request body

- object
  - `type` 'generic' | 'slack' | 'discord' | 'telegram': generic = signed JSON POST. slack/discord = incoming-webhook URL. telegram = bot_token + chat_id.
  - `url` string, uri: Destination URL (generic) or incoming-webhook URL (slack/discord).
  - `bot_token` string: Telegram bot token (telegram only).
  - `chat_id` string: Telegram chat ID (telegram only).
  - `events` string[]

## Response `200`

Webhook created (HMAC secret shown once for generic endpoints)

---

[API](https://skmtc.dev/arc-relay/apis/arc-relay-api.md) · [All operations](https://skmtc.dev/arc-relay/apis/arc-relay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/arc-relay/apis/arc-relay-api/revisions/1743ed2c49bc?raw)
