List webhooks
List webhooks for a mailbox.
List webhooks for a mailbox.
Authorizations
AuthorizationstringRequired
Bearer authentication using API tokens in the Authorization header.
Path parameters
mailboxResourceIdstringRequiredExample:
Resource ID of the managed mailbox the bearer token is authorized for.
AC1a2b3c4d5e6f7gQuery parameters
statusstring · enumOptionalPossible values:
Return only webhooks with this status.
pageinteger · min: 1OptionalDefault:
Page number (1-based).
1perPageinteger · min: 1 · max: 1000OptionalDefault:
Items per page (max 1000).
15Responses
200
Paginated list of webhooks.
application/json
Paginated list of webhooks.
401
Missing or invalid credentials.
application/json
403
Token is not authorized to manage the requested mailbox.
application/json
422
Request payload failed validation. params maps field name to an array of error messages.
application/json
500
Server-side failure.
application/json
502
Upstream service is unavailable or returned an unexpected response.
application/json
get/api/v1/mailboxes/{mailboxResourceId}/webhooks
GET /api/v1/mailboxes/{mailboxResourceId}/webhooks HTTP/1.1
Host: api.mail.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [
{
"id": "019683f8-1234-7abc-8def-0123456789ab",
"accountResourceId": "AC1a2b3c4d5e6f7g",
"mailbox": "user@example.com",
"name": "New message notifier",
"description": "Notifies our CRM when a new email arrives",
"events": [
"message.received"
],
"status": "active",
"url": "https://example.com/webhooks/incoming",
"createdAt": "2026-04-07T12:00:00+00:00",
"updatedAt": "2026-04-07T12:00:00+00:00"
}
],
"pagination": {
"page": 1,
"perPage": 25,
"total": 137,
"totalPages": 6
}
}Last updated
Was this helpful?