Webhooks

Webhooks that show their work.

Every lifecycle event, delivered to your server signed and retried, with attempt history you can inspect and replay instead of a black box that fires once into the void.

Event catalog

Every lifecycle event, and exactly which ones fire today.

Calder records the full lifecycle. Two events are emitted without any extra configuration; the rest depend on provider feedback (SES event notifications) being configured on the deployment, so they are marked rather than shown as live.

email.sent, A provider accepted the message for delivery.live
email.failed, Permanent provider rejection, retries exhausted, or invalid input.live
email.delivered, The recipient's server confirmed receipt.provider setup
email.bounced, Delivery failed permanently, reason included.provider setup
email.complained, Recipient marked it spam, suppressed automatically.provider setup
email.opened, The message was opened.provider setup
email.clicked, A link in the message was clicked.provider setup
Trust, then verify

Signed, timestamped, replay-safe

Every delivery carries an HMAC signature and an idempotent event ID. Verify the signature, dedupe on the ID, and process each event exactly once, even when we retry it three times to get it to you.

  • Failures retry with backoff, visibly, in your dashboard
  • Replay any delivery manually after an outage
  • Per-endpoint history: what we sent, what you answered
verify.js, trust, then verify
import crypto from "node:crypto";

function verify(rawBody, signature, secret) {
  const digest = crypto.createHmac("sha256", secret)
    .update(rawBody) .digest("hex");
  return crypto.timingSafeEqual(
    Buffer.from(digest),
    Buffer.from(signature),
  );
}

Start building

Your application has enough to worry about.

Let Calder handle the communication infrastructure. Start with 5,000 emails free, connect your application in minutes, and know what happens after you hit Send.