---
title: "Create a webhook (secret returned once)"
method: POST
path: "/webhooks"
tags: ["Webhooks"]
---

# Create a webhook (secret returned once)

`POST /webhooks`

## Request

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

## Request body

- object
  - `url` string, uri, required: Public https URL
  - `events` string[], required
  - `name` string
  - `description` string

## Response `201`

Created; `secret` appears only here

- object
  - `data` object
    - `secret` string
    - `secret_warning` string
  - `error` unknown
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time

## Other responses

- `400`: Bad URL or unknown event

---

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