---
title: "Send test webhook"
method: POST
path: "/v1/inboxes/{id}/webhook/test"
tags: ["inboxes"]
---

# Send test webhook

`POST /v1/inboxes/{id}/webhook/test`

## Request

- Base URL: `https://api.openmail.sh`
- URL: `https://api.openmail.sh/v1/inboxes/{id}/webhook/test`
- Auth: HTTP bearer

Send a signed test event to this inbox's webhook URL. Requires a webhook URL (and signing secret) to already be set on the inbox.

## Path parameters

- `id` string, required

## Response `200`

Test webhook sent successfully

- object: Test webhook sent successfully
  - `ok` boolean
  - `message` string

## Other responses

- `400`: No webhook URL is set on this inbox (`no_webhook_url`)
- `404`: Not found
- `502`: The webhook endpoint returned an error status, or the request to it failed (`webhook_failed`)

---

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