Send events

Return a message's delivery status

Changed on

Returns the delivery timeline of one message for each of its recipients: when Nylas accepted it, and whether it was delivered, bounced, marked as spam, or rejected. Use it to check whether a message reached a recipient and, if it didn't, why. Covers messages sent in the last 90 days.

get/v3/activity/send/messages/{message_id}

Request

Response

Success. Returns the message and each recipient's events.

request_idstring

The request ID.

Example response

{
  "data": {
    "message": {
      "message_id": "5a8f7b2e-3c1d-4e9f-8a6b-2d4c6e8f0a1b",
      "thread_id": "9c3e1f7a-6b2d-4a8e-b5c4-1e7d3a9f2b6c",
      "grant_id": "0b7e5a6b-0cbd-4a39-b3ba-2b53b1b0a7d6",
      "application_id": "26302083-12ae-4f38-91fe-6cba93da03ee",
      "from": "support@mail.example.com",
      "sending_domain": "mail.example.com",
      "subject": "Your order has shipped",
      "sent_at": 1792785243,
      "last_event_at": 1792785245
    },
    "recipients": [
      {
        "recipient": "leyah@example.org",
        "recipient_domain": "example.org",
        "current_status": "bounced",
        "bounce_class": "hard",
        "events": [
          {
            "id": "1110f3b5fa7cc381421942082f1e8c8fe2b85f0072b6c67b123a2bf4d8286848",
            "event_type": "bounced",
            "timestamp": 1792785245,
            "bounce_class": "hard",
            "reason": "General (5.1.1)",
            "detail": {
              "smtp_response": "250 2.0.0 OK",
              "processing_time_ms": 847,
              "reporting_mta": "dns; a27-187.smtp-out.us-west-2.amazonses.com",
              "remote_mta_ip": "203.0.113.25",
              "bounce_type": "Permanent",
              "bounce_subtype": "General",
              "status": "5.1.1",
              "action": "failed",
              "diagnostic_code": "smtp; 550 5.1.1 user unknown",
              "feedback_type": "abuse"
            }
          }
        ]
      }
    ]
  }
}

Changes