EEmailytDocumentationOpen dashboard →
Events

Webhooks

Use signed HTTPS events to update your application when a message is delivered, deferred, bounced, complained about, or rejected.

Create an endpoint

Add a public HTTPS URL on port 443 in the dashboard. Emailyt resolves and validates the destination before every dispatch and refuses loopback, link-local, private, credential-bearing, and redirect targets.

Copy the signing secret immediately. The whsec_… secret is displayed once and cannot be retrieved later. Up to 10 endpoints are allowed.

Event payload

{
  "id": "evt_287c6a2d-…",
  "type": "email.delivered",
  "createdAt": "2026-11-22T16:43:01.882Z",
  "data": {
    "messageId": "em_7d6c9f2d15f04cbea97b8bb845e4e081",
    "status": "delivered",
    "recipients": ["person@example.net"]
  }
}
TypeMeaningTerminal
email.sentSES accepted the message for delivery.No
email.deliveredThe receiving system reported delivery.Yes
email.deferredDelivery is delayed and may continue.No
email.bouncedThe message bounced. Permanent recipients enter tenant suppression.Yes
email.complainedA recipient submitted a complaint and enters tenant suppression.Yes
email.rejectedThe provider rejected the message.Yes
email.subscribedA subscription-related provider event occurred.Yes

Test-mode sends emit email.delivered with testMode: true and simulated delivery; no external mail is sent.

Verify signatures

Every request contains:

X-Emailyt-Id
Unique event ID. Store it for deduplication.
X-Emailyt-Timestamp
Unix timestamp used for replay protection.
X-Emailyt-Signature
v1= followed by a lowercase hexadecimal HMAC-SHA256 digest.
  1. Read the raw request bytes before JSON parsing or re-serialization.
  2. Reject timestamps outside your replay window, such as five minutes.
  3. Compute HMAC-SHA256 over timestamp + "." + rawBody.
  4. Compare the expected and supplied digests in constant time.
  5. Deduplicate by event ID, process asynchronously, and return 2xx quickly.

Retries and endpoint health

Return any 2xx response within 10 seconds. Non-2xx responses, timeouts, DNS failures, and connection errors retry for approximately 24 hours. Successful endpoint/event pairs are recorded and not resent when another endpoint fails.

An endpoint pauses after eight consecutive failures. Correct the endpoint and resume it from the dashboard. Redirects are not followed.

Delivery can be repeated. Webhooks use at-least-once delivery semantics. Signature verification does not replace event-ID deduplication.