curl --location 'https://api.zapmail.ai/api/v2/webhooks/endpoints' \
--header 'x-auth-zapmail;'{
"status": 200,
"message": "Webhook endpoints fetched",
"data": [
{
"id": "uuid",
"url": "https://example.com/webhooks/zapmail",
"enabled_events": [
"domain.status_changed",
"mailbox.status_changed"
],
"status": "active",
"created_at": "2026-07-21T00:00:00.000Z",
"updated_at": "2026-07-21T00:00:00.000Z"
}
]
}