---
title: "Create webhook endpoint"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Create webhook endpoint

`POST /webhooks`

## Request

- Base URL: `https://api.aitwire.com/v1`
- URL: `https://api.aitwire.com/v1/webhooks`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Request body

- object
  - `tenant` string, required
  - `url` string, required: Must be https:// and resolve to a public host — loopback, private/link-local ranges, non-standard ports and embedded credentials are rejected
  - `description` string
  - `event_types` string[]

## Response `200`

Webhook created with signing secret

---

[API](https://skmtc.dev/aitwire/apis/aitwire-api.md) · [All operations](https://skmtc.dev/aitwire/apis/aitwire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aitwire/apis/aitwire-api/revisions/3b9510337a9d?raw)
