Test webhook
Send a test delivery to the webhook URL and return the upstream response.
Send a test delivery to the webhook URL and return the upstream response.
Authorizations
AuthorizationstringRequired
Bearer authentication using API tokens in the Authorization header.
Path parameters
mailboxResourceIdstringRequiredExample:
Resource ID of the managed mailbox.
AC1a2b3c4d5e6f7gwebhookstring · uuidRequiredExample:
Webhook identifier (UUID v7).
019683f8-1234-7abc-8def-0123456789abResponses
200
Test delivery result.
application/json
Result of a webhook test delivery.
401
Missing or invalid credentials.
application/json
403
Token is not authorized to manage the requested mailbox.
application/json
404
Resource not found.
application/json
500
Server-side failure.
application/json
502
Upstream service is unavailable or returned an unexpected response.
application/json
post/api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test
POST /api/v1/mailboxes/{mailboxResourceId}/webhooks/{webhook}/test HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": {
"httpStatus": 200,
"success": true,
"error": "Connection refused"
}
}Last updated
Was this helpful?