Webhooks

List webhooks

List webhooks for a mailbox.

get/api/v1/mailboxes/{mailboxResourceId}/webhooks

Request

  • Base URL: https://api.mail.hostinger.com
  • URL: https://api.mail.hostinger.com/api/v1/mailboxes/{mailboxResourceId}/webhooks
  • Auth: HTTP bearer

Path parameters

mailboxResourceIdstring required

Resource ID of the managed mailbox the bearer token is authorized for.

Query parameters

status'active' | 'paused' | 'disabled'

Return only webhooks with this status.

pageinteger

Page number (1-based).

perPageinteger

Items per page (max 1000).

Response

Paginated list of webhooks.

Example response

{
  "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
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.