---
title: "Create a Webhook"
method: POST
path: "/webhooks"
---

# Create a Webhook

`POST /webhooks`

## Request

- Base URL: `https://api.sandbox.waza.co/payouts/v1`
- URL: `https://api.sandbox.waza.co/payouts/v1/webhooks`
- Auth: none required

This endpoint generates a webhook

## Headers

- `x-waza-key` string

## Request body

- object
  - `url` string, required: URL endpoint where the webhook notifications are sent
  - `secret` string, required: webhook secret key
  - `enabled_events` string[], required: An array of event names that you want to receive notifications i.e. ["transaction.created", "transaction.processing"]

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `created_at` string
    - `updated_at` string
    - `state` string
    - `url` string
    - `secret` string
    - `enabled_events` string[]

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `496d6a60d53b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/waza/apis/waza-payout-apis/changes/webhooks/post.md)

---

[API](https://skmtc.dev/waza/apis/waza-payout-apis.md) - [All operations](https://skmtc.dev/waza/apis/waza-payout-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/waza/apis/waza-payout-apis/revisions/496d6a60d53b?raw)
