WebhookDeliveryPayload
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
| Field | Type | Description |
|---|---|---|
blobHash | string | SHA-256 hash of the raw MIME content |
deliveryId | string | This delivery's id: the receiver's idempotency key across retries |
from | string | SMTP envelope sender address |
message | WebhookDeliveryMessage | |
rawUrl | string | Optional. 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 |
receivedAt | number | When the platform accepted the message, epoch seconds |
size | number | Raw RFC 5322 message size in bytes |
to | string | SMTP envelope recipient address: the address routed to this webhook |