Saltar al contenido principal

Webhook event and signature catalog

Generated from the webhook JSON schemas. Downloads: cem-webhooks.json (Spanish) · cem-webhooks.en.json (English).

Event envelope (event.schema.json)​

Body of every webhook request. Delivery is at-least-once: deduplicate on id (equal to the webhook-id header and stable across retries and replays) and order the events of one message by sequence. Consumers must ignore properties they do not know.

FieldTypeRequiredDescription
idstringYesUnique event identifier. Equal to the webhook-id header; use it to deduplicate.
typestring (17 possible values)YesKind of event; it selects the shape of data.
apiVersionstring (fixed value v1)YesVersion of the event contract.
occurredAtstring (date-time)YesInstant at which the event happened, RFC 3339 in UTC.
trackIdstringNoMessage the event belongs to. Present on message.* and evidence.* events.
rcptIdstringNoRecipient of the message the event belongs to. Present on message.* and evidence.* events.
clientTrackIdstringNoThe clientTrackId given when the message was submitted, when there was one.
sequenceintegerNoPosition of the event among the transitions of its message.
dataobjectYesDetails specific to the event type.
evidencelist of objectNoSealed receipts that back the event, when there are any.
metadataobjectNoThe metadata given when the message was submitted.

message.* and evidence.* events also require trackId, rcptId and sequence.

Signed HTTP headers (headers.schema.json)​

Headers of every webhook request (Standard Webhooks scheme, header names in lowercase). The signature is v1, followed by base64(HMAC-SHA256(secret, {webhook-id}.{webhook-timestamp}.{raw body})). While a secret is being rotated the header carries one signature per active secret, separated by spaces; accept the request if any of them matches. Reject requests whose timestamp is further than webhooks.signature.toleranceSeconds from the current time.

HeaderRequiredDescription
webhook-idYesEqual to the id of the body; stable across retries and replays.
webhook-timestampYesSeconds since the Unix epoch at the time of this attempt.
webhook-signatureYesOne or more space-separated v1, signatures; see the description of this schema for how they are built.
content-typeYesAlways application/json.
user-agentNoIdentifies the platform as the sender.

Event types​

TypeWhen it is emitted
message.acceptedThe message was accepted for delivery and durably recorded.
message.sentThe message was handed to the mail service for sending.
message.deliveredThe recipient's mail server accepted the message.
message.delayedDelivery is delayed; the platform keeps retrying until the deadline.
message.bouncedThe message bounced; the event gives the bounce type and whether the address was suppressed.
message.complainedThe recipient marked the message as unwanted.
message.openedA probable open of the message was detected.
message.clickedA click on a link of the message was detected.
message.readA read signal that reaches the configured minimum level was recorded.
message.mdn_receivedAn authenticated Message Disposition Notification (MDN) was received from the recipient.
evidence.sealedA receipt was sealed; with TSA_PENDING the timestamp is still to be added and another event with SEALED follows.
evidence.expiringCustody of the evidence is about to end and the artifacts will be purged.
tenant.sending_pausedThe platform paused sending for the tenant (for example, because of a high bounce rate).
tenant.sending_resumedThe platform resumed sending for the tenant.
domain.verifiedThe sending domain was verified and became ACTIVE.
domain.failedVerification of the sending domain failed and it became FAILED.
batch.completedA batch finished processing.

Payload examples​

batch.completed​

{
"id": "evt_bat_01HZX3K9Q2B7C4D5E6F7G8H9JK",
"type": "batch.completed",
"apiVersion": "v1",
"occurredAt": "2026-03-04T10:30:00Z",
"data": {
"batchId": "bat_01HZX3K9Q2B7C4D5E6F7G8H9JK",
"status": "COMPLETED",
"total": 10000,
"accepted": 9990,
"rejected": 10,
"unprocessed": 0,
"name": "march-notices"
}
}

domain.failed​

{
"id": "evt_domain_acme_0002",
"type": "domain.failed",
"apiVersion": "v1",
"occurredAt": "2026-02-23T12:00:00Z",
"data": {
"domain": "acme.co",
"status": "FAILED",
"reason": "dns_verification_timeout",
"failedAt": "2026-02-23T12:00:00Z",
"diagnostic": "DKIM CNAME records were not found before the deadline."
}
}

domain.verified​

{
"id": "evt_domain_acme_0001",
"type": "domain.verified",
"apiVersion": "v1",
"occurredAt": "2026-02-20T12:00:00Z",
"data": {
"domain": "acme.com",
"status": "ACTIVE",
"verifiedAt": "2026-02-20T12:00:00Z"
}
}

evidence.expiring​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0008",
"type": "evidence.expiring",
"apiVersion": "v1",
"occurredAt": "2026-03-25T15:04:12Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 8,
"data": {
"expiresAt": "2026-04-01T15:04:12Z"
},
"evidence": [
{
"type": "DELIVERY",
"evidenceId": "EV-01JD90B2M4X7",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"trustLevel": "TEST",
"links": {
"xml": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/xml",
"pdf": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/pdf",
"asice": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/asice",
"verify": "https://verify.miplataforma.com/v/01JD90B2M4X7Q8R9S0T1V2W3X4"
}
}
]
}

evidence.sealed​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0004",
"type": "evidence.sealed",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:04:12Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 4,
"data": {
"status": "SEALED",
"receiptKey": "DELIVERY",
"satisfies": ["DELIVERY", "READ#L3", "READ#L4"],
"covers": [
"evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0001",
"evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0002",
"evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0003",
"evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0004"
],
"coveredSeq": 4,
"signed": true,
"timestamp": "INDIVIDUAL",
"chain": {
"position": 1,
"coveredSeq": 4,
"previousEvidenceId": null,
"headEvidenceId": "EV-01JD90B2M4X7",
"final": false
}
},
"evidence": [
{
"type": "DELIVERY",
"evidenceId": "EV-01JD90B2M4X7",
"sha256": "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08",
"trustLevel": "TEST",
"links": {
"xml": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/xml",
"pdf": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/pdf",
"asice": "https://api.miplataforma.com/v1/evidence/EV-01JD90B2M4X7/asice",
"verify": "https://verify.miplataforma.com/v/01JD90B2M4X7Q8R9S0T1V2W3X4"
}
}
]
}

message.accepted​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0001",
"type": "message.accepted",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:04:05Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 1,
"data": {
"status": "ACCEPTED",
"channel": "API"
}
}

message.bounced​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0003",
"type": "message.bounced",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:04:10Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 3,
"data": {
"status": "BOUNCED",
"bounceType": "Permanent",
"bounceSubType": "General",
"diagnosticCode": "smtp; 550 5.1.1 user unknown",
"suppressed": true
}
}

message.clicked​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0006",
"type": "message.clicked",
"apiVersion": "v1",
"occurredAt": "2026-03-02T16:12:30Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 6,
"data": {
"level": "L3",
"classification": "HUMAN",
"classifierVersion": "2026.03.1",
"linkIndex": 0,
"url": "https://acme.com/estado-de-cuenta"
}
}

message.complained​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0005",
"type": "message.complained",
"apiVersion": "v1",
"occurredAt": "2026-03-03T09:00:00Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 5,
"data": {
"status": "COMPLAINED",
"feedbackType": "abuse"
}
}

message.delayed​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0003",
"type": "message.delayed",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:34:09Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 3,
"data": {
"status": "DELAYED",
"delayType": "MailboxFull",
"expirationTime": "2026-03-03T03:04:07Z"
}
}

message.delivered​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0003",
"type": "message.delivered",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:04:09Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 3,
"data": {
"status": "DELIVERED",
"smtpResponse": "250 2.0.0 OK 1709391849 a1-20020a05",
"remoteMtaIp": "203.0.113.25",
"reportingMta": "a8-31.smtp-out.amazonses.com",
"processingTimeMs": 1840
}
}

message.mdn_received​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0005",
"type": "message.mdn_received",
"apiVersion": "v1",
"occurredAt": "2026-05-01T15:10:47Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 5,
"data": {
"disposition": "displayed",
"actionMode": "manual-action",
"sendingMode": "MDN-sent-manually",
"authStrength": "STRONG",
"addressMode": "TOKEN",
"gesture": "MANUAL",
"level": "L2",
"classification": "CONFIRMED_OPEN",
"reportingUa": "mail.empresa.com; Google Workplace",
"finalRecipient": "rfc822; juan@empresa.com",
"originalMessageId": "<0100018e0a1b2c3d-4e5f6a7b-0000-0000-0000-000000000000-000000@email.amazonses.com>",
"mdnMessageId": "<mdn-01JD90B2M4XB@mail.empresa.com>",
"mdnSha256": "3a7bd3e2360a3d29eea436fcfb7e44c735d117c42d1c1835420b6b9942dd4f1b"
}
}

message.opened​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0005",
"type": "message.opened",
"apiVersion": "v1",
"occurredAt": "2026-03-02T16:10:00Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 5,
"data": {
"level": "L2",
"classification": "PROXY_OPEN",
"classifierVersion": "2026.03.1"
}
}

message.read​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0007",
"type": "message.read",
"apiVersion": "v1",
"occurredAt": "2026-03-02T16:12:31Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 7,
"data": {
"level": "L3",
"classification": "HUMAN",
"classifierVersion": "2026.03.1"
}
}

message.sent​

{
"id": "evt_01JD90B2M4X7Q8R9S0T1V2W3X4_r0_0002",
"type": "message.sent",
"apiVersion": "v1",
"occurredAt": "2026-03-02T15:04:07Z",
"trackId": "01JD90B2M4X7Q8R9S0T1V2W3X4",
"rcptId": "r0",
"clientTrackId": "COB-2026-000123",
"sequence": 2,
"data": {
"status": "SENT"
}
}

tenant.sending_paused​

{
"id": "evt_tenant_acme_0001",
"type": "tenant.sending_paused",
"apiVersion": "v1",
"occurredAt": "2026-03-04T10:00:00Z",
"data": {
"breakerState": "OPEN",
"reason": "bounce_rate_above_threshold",
"bounceRate": 0.052,
"heldRecipients": 318
}
}

tenant.sending_resumed​

{
"id": "evt_tenant_acme_0002",
"type": "tenant.sending_resumed",
"apiVersion": "v1",
"occurredAt": "2026-03-05T10:00:00Z",
"data": {
"breakerState": "CLOSED"
}
}