Skip to Content

What parseMessageWebhook answers: the message a message webhook posts to your endpoint, its signature checked first.

What parseMessageWebhook answers: the message a message webhook posts to your endpoint, its signature checked first.

type WebhookDeliveryPayload = {
  blobHash: string
  deliveryId: string
  from: string
  message: WebhookDeliveryMessage
  rawUrl?: string
  receivedAt: number
  size: number
  to: string
}

Fields

FieldTypeDescription
blobHashstringSHA-256 hash of the raw MIME content
deliveryIdstringThis delivery's id: the receiver's idempotency key across retries
fromstringSMTP envelope sender address
messageWebhookDeliveryMessage
rawUrlstringOptional. Signed capability URL for the original RFC 5322 bytes (GET /deliveries/fetch/{token}), for DKIM verification, archival, or a parser of your own. Needs no credentials; expires. Absent when the fetch feature is not configured
receivedAtnumberWhen the platform accepted the message, epoch seconds
sizenumberRaw RFC 5322 message size in bytes
tostringSMTP envelope recipient address: the address routed to this webhook

On this page