Get webhook
Retrieve the details of a single webhook. The webhook secret is never included; it is returned only when a webhook is created or its secret is regenerated.
Retrieve the details of a single webhook. The webhook secret is never included; it is returned only when a webhook is created or its secret is regenerated.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
webhookIdstringRequiredExample:
Webhook ID (returned when the webhook was created)
019683f8-1234-7abc-8def-0123456789abResponses
200
Success response
application/json
idstringOptionalExample:
Unique webhook identifier
019683f8-1234-7abc-8def-0123456789abnamestringOptionalExample:
Human-readable name for this webhook
New message notifierdescriptionstring · nullableOptionalExample:
Optional description of the webhook's purpose
Notifies our CRM when a new email arrivesstatusstring · enumOptionalExample:
Current status of the webhook
activePossible values: urlstringOptionalExample:
URL that receives webhook POST requests
https://example.com/webhooks/incomingcreated_atstring · date-timeOptionalExample:
2026-07-23T12:00:00Zupdated_atstring · date-timeOptionalExample:
2026-07-23T12:00:00Z401
Unauthenticated response
application/json
404
Error response
application/json
422
Error response
application/json
500
Error response
application/json
get/api/mail/v1/webhooks/{webhookId}
GET /api/mail/v1/webhooks/{webhookId} HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": "019683f8-1234-7abc-8def-0123456789ab",
"mailbox": {
"id": "AC1a2b3c4d5e6f7g",
"address": "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",
"created_at": "2026-07-23T12:00:00Z",
"updated_at": "2026-07-23T12:00:00Z"
}Last updated
Was this helpful?