Webhooks do not include the email body, headers, or attachments, only their
metadata. You must call the Received emails
API or the Attachments
API to retrieve them.
This design choice supports large attachments in serverless environments that
have limited request body sizes.
{
"type": "email.received",
"created_at": "2026-02-22T23:41:12.126Z",
"data": {
"email_id": "56761188-7520-42d8-8898-ff6fc54ce618",
"created_at": "2026-02-22T23:41:11.894Z",
"from": "onboarding@resend.dev",
"to": ["delivered@resend.dev"],
"bcc": [],
"cc": [],
"received_for": ["forwarded@example.com"],
"message_id": "<111-222-333@email.example.com>",
"subject": "Sending this example",
"attachments": [
{
"id": "2a0c9ce0-3112-4728-976e-47ddcd16a318",
"filename": "avatar.png",
"content_type": "image/png",
"content_disposition": "inline",
"content_id": "img001"
}
]
}
}
email.received
Received when an inbound email is received.
{
"type": "email.received",
"created_at": "2026-02-22T23:41:12.126Z",
"data": {
"email_id": "56761188-7520-42d8-8898-ff6fc54ce618",
"created_at": "2026-02-22T23:41:11.894Z",
"from": "onboarding@resend.dev",
"to": ["delivered@resend.dev"],
"bcc": [],
"cc": [],
"received_for": ["forwarded@example.com"],
"message_id": "<111-222-333@email.example.com>",
"subject": "Sending this example",
"attachments": [
{
"id": "2a0c9ce0-3112-4728-976e-47ddcd16a318",
"filename": "avatar.png",
"content_type": "image/png",
"content_disposition": "inline",
"content_id": "img001"
}
]
}
}
Event triggered whenever Resend successfully receives an email.
Was this page helpful?
⌘I