---
title: "Create Webhook"
method: POST
path: "/api/v1/webhooks"
tags: ["webhooks"]
---

# Create Webhook

`POST /api/v1/webhooks`

## Request

- Base URL: `https://agentavow.com` (the document declares no server; this is the origin it was published from)
- URL: `https://agentavow.com/api/v1/webhooks`
- Auth: HTTP bearer

## Headers

- `x-api-key` string, nullable

## Request body

- CreateWebhookRequest
  - `callback_url` string, uri, required
  - `event_types` string[], required

## Response `201`

Successful Response

- WebhookCreatedResponse
  - `webhook` WebhookResponse, required
    - `id` string, uuid, required
    - `callback_url` string, required
    - `event_types` string[], required
    - `is_active` boolean, required
    - `consecutive_failures` integer, required
  - `secret` string, required

## Other responses

- `422`: Validation Error

---

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