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

# Create a webhook

`POST /v1/webhooks`

## Request

- Base URL: `https://api.replylayer.ai`
- URL: `https://api.replylayer.ai/v1/webhooks`
- Auth: HTTP bearer

## Request body

- object
  - `description` string
  - `enabled` boolean
  - `enabled_events` string[], required
  - `request_headers` object
  - `url` string, required

## Response `201`

Created

- object
  - `created_at` string, date-time, required
  - `description` string, nullable
  - `enabled` boolean, required
  - `enabled_events` string[], required
  - `id` string, required
  - `request_header_names` string[]
  - `signing_secret` string, required
  - `url` string, required

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key (code: UNAUTHORIZED)
- `403`: Forbidden
- `429`: Rate limited (code: RATE_LIMITED)
- `500`: Internal error (code: INTERNAL_ERROR)
- `503`: Temporarily unavailable

---

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