Webhooks

Webhook events reference

Short answer

Mailcandor sends 21 webhook events in six groups: email (sent, delivered, delivery_delayed, bounced, complained, opened, clicked, failed, suppressed), inbound (email.received), domain, suppression, review and contact events. Every delivery is a POST with a JSON body holding type, created_at and data. Email events carry email_id, from, to, subject, tags and recipient; bounces add a plain-English explanation.

Last checked 16 November 2026

Every webhook delivery is a POST with a JSON body shaped like this:

{
  "type": "email.delivered",
  "created_at": "2026-11-14T08:00:01Z",
  "data": { "...": "depends on the type" }
}

You choose which types each endpoint gets when you create the webhook. The same names are used in the dashboard and the API.

Email events

Event When it fires
email.sent Mailcandor handed the email to the sending engine.
email.delivered The receiving server accepted it.
email.delivery_delayed The receiving server deferred it for now. Mailcandor keeps retrying.
email.bounced The receiving server refused it, for good (permanent) or for now (transient).
email.complained The recipient marked it as spam.
email.opened The recipient’s mail app loaded the email’s images. Approximate: many apps block or preload images.
email.clicked The recipient followed a link.
email.failed It could not be sent: rejected before sending, a rendering failure, or three failed hand-offs to the engine.
email.suppressed An address was on your suppression list (or the contact had unsubscribed), so it was not sent to that address.

Email events carry this data:

{
  "email_id": "3f1c0e2a-6a7b-4c51-9d0e-8f1a2b3c4d5e",
  "from": "Acme <hello@acme.com>",
  "to": ["sam@example.com"],
  "subject": "Your login code",
  "tags": { "flow": "login" },
  "created_at": "2026-11-14T08:00:00Z",
  "recipient": "sam@example.com"
}

tags appears only if you sent tags. recipient is the address the event is about, when there is one.

email.bounced adds a bounce object:

"bounce": {
  "type": "permanent",
  "subtype": "general",
  "diagnostic": "smtp; 550 5.1.1 user unknown",
  "explanation": {
    "title": "Bounced for good",
    "meaning": "This mailbox does not exist at that domain.",
    "next_step": "Check the address for a typo...",
    "permanent": true
  }
}

email.clicked adds click.link, the URL that was followed. See How to read a bounce for what the bounce fields mean.

Inbound event

email.received fires when an email arrives at one of your receiving domains. Its data holds email_id, created_at, from, to, cc, bcc, message_id, subject and attachments (id, filename, content_type, content_disposition, content_id, size). The body is not included: fetch it with GET /v1/emails/receiving/{email_id}.

Domain events

Event When it fires
domain.created A domain was added.
domain.updated A domain’s verification status changed.
domain.deleted A domain was removed.

data holds domain_id, name, status and region.

Suppression events

Event When it fires
suppression.added An address joined the suppression list (hard bounce, complaint, unsubscribe, or added by your team).
suppression.removed An address was taken off the list.

data holds email, origin (bounce, complaint, manual or unsubscribe) and source_email_id.

Review events

These follow the fair review process.

Event When it fires
review.opened A review of your sending started. Sending carries on.
review.explained Our team wrote what we found. Your 72 hours to reply start.
review.decided The review was cleared, sending was paused, or the account was closed.

data holds review_id, status, scope (a domain name or account), reason once written, and appeal_deadline_at once set.

Contact events

contact.created, contact.updated and contact.deleted fire for contacts in your audiences. data holds id, audience_id, email, first_name, last_name and unsubscribed.

Handling events well

  • Answer with a 2xx quickly, then do slow work in a background job. Mailcandor waits 10 seconds.
  • Skip duplicates by the webhook-id header. Retries and replays reuse it.
  • Do not assume order. Store each event and let the most final status win.

If it does not work

  • An event never arrives. Check the endpoint is subscribed to that event and is turned on. See Webhook not receiving events.
  • “Unknown events” error. A name is misspelled. Use the names in the tables above exactly.
  • No opened or clicked events. Mail apps that block images send no open; plain-text emails have no tracked links.

Full schemas are in the API reference.

Questions

Do events arrive in order?

Not guaranteed. Each event is delivered on its own and retried on its own, so a delivered event can arrive before sent. Use the type and timestamps, and treat status as only moving forward.

Can I get every event without listing them?

No. The events list must name at least one event. Tick all of them in the dashboard, or send the full list with the API.

Why do I get email.suppressed instead of email.bounced?

The address was already on your suppression list, so the email was never sent to it. Suppressed emails are not billed.

Does email.received include the message body?

No. It carries metadata only. Fetch the body with GET /v1/emails/receiving/{id}.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.