---
title: "Send a test webhook"
method: POST
path: "/webhooks/test"
---

# Send a test webhook

`POST /webhooks/test`

## Request

- Base URL: `https://www.ninjachat.ai/api/v1`
- URL: `https://www.ninjachat.ai/api/v1/webhooks/test`
- Auth: HTTP bearer

Send one synthetic event immediately to check your Discord/Slack channel or generic receiver signature handling before relying on live jobs.

## Request body

- WebhookTestRequest
  - `endpoint_id` string, required

## Response `200`

Immediate test delivery result.

- WebhookTestResponse
  - `delivered` boolean, required
  - `detail` string, nullable, required

## Other responses

- `400`: Invalid or unsupported request parameter.
- `401`: Missing or invalid API key.
- `402`: Insufficient balance or project spend limit reached.
- `429`: Rate limit exceeded.
- `500`: Gateway error.

---

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