---
title: "Test webhook"
method: POST
path: "/api/mail/v1/webhooks/{webhookId}/test"
tags: ["Mail: Webhooks"]
---

# Test webhook

`POST /api/mail/v1/webhooks/{webhookId}/test`

Send a test delivery to the webhook URL and return the result. Test
requests are rate limited upstream.

## Path parameters

- `webhookId` string, required

## Response `200`

Success response

- MailV1WebhooksWebhookTestResultResource
  - `http_status` integer — HTTP status code returned by the webhook endpoint
  - `is_successful` boolean — Whether the test delivery was successful
  - `error` string, nullable — Error message returned by the webhook endpoint in case of failure

## Other responses

- `401` — Unauthenticated response
- `404` — Error response
- `422` — Error response
- `429` — Error response
- `500` — Error response

---

[API](https://skmtc.net/hostinger/apis/hostinger-api.md) · [All operations](https://skmtc.net/hostinger/apis/hostinger-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hostinger/hostinger-api/revisions/74abfea76e36/schema)
