Skip to main content
Event triggered whenever Resend successfully receives an email.

Response Body Parameters

All webhook payloads follow a consistent top-level structure with event-specific data nested within the data object.
type
string
The event type that triggered the webhook (e.g., email.received).
created_at
string
ISO 8601 timestamp when the webhook event was created.
data
object
Event-specific data containing detailed information about the event. The data object for the email.received event contains the following parameters:
{
  "type": "email.received",
  "created_at": "2024-02-22T23:41:12.126Z",
  "data": {
    "email_id": "56761188-7520-42d8-8898-ff6fc54ce618",
    "created_at": "2024-02-22T23:41:11.894719+00:00",
    "from": "Acme <[email protected]>",
    "to": ["[email protected]"],
    "bcc": [],
    "cc": [],
    "message_id": "<example+123>",
    "subject": "Sending this example",
    "attachments": [
      {
        "id": "2a0c9ce0-3112-4728-976e-47ddcd16a318",
        "filename": "avatar.png",
        "content_type": "image/png",
        "content_disposition": "inline",
        "content_id": "img001"
      }
    ]
  }
}