For the complete documentation index, see llms.txt. This page is also available as Markdown.

Test webhook

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

Test webhook

post

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

Authorizations
AuthorizationstringRequired

API Token authentication

Path parameters
webhookIdstringRequired

Webhook ID (returned when the webhook was created)

Example: 019683f8-1234-7abc-8def-0123456789ab
Responses
200

Success response

application/json
http_statusintegerOptional

HTTP status code returned by the webhook endpoint

Example: 200
is_successfulbooleanOptional

Whether the test delivery was successful

Example: true
errorstring · nullableOptional

Error message returned by the webhook endpoint in case of failure

Example: Something bad happened
post/api/mail/v1/webhooks/{webhookId}/test
POST /api/mail/v1/webhooks/{webhookId}/test HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "http_status": 200,
  "is_successful": true,
  "error": "Something bad happened"
}

Last updated

Was this helpful?