---
title: "Send a test event to the default inbound webhook"
method: POST
path: "/inbox/webhook/test"
tags: ["inbox"]
---

# Send a test event to the default inbound webhook

`POST /inbox/webhook/test`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/inbox/webhook/test`
- Auth: HTTP bearer

Immediately POSTs one signed event with type webhook.test (Mailly-Event-Type: webhook.test, body.test = true) and returns the HTTP result. The payload has the same shape as email.received in the endpoint's body format, but the sample email is not stored, so content_url cannot be fetched. Return any 2xx to pass. Works for disabled endpoints too; nothing is queued or retried.

## Response `200`

Test sent (check test.ok for the endpoint result)

- object
  - `success` boolean, required
  - `test` object, required

## Other responses

- `400`: Webhook url is no longer allowed
- `401`: Missing or invalid API key
- `404`: Resource not found
- `429`: Tested too recently
- `500`: Server error

---

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