Email

Get a sent email

GEThttps://api.smsedge.com/v2/email/sends/{send_id}

Returns the copy of one sent email: sender, recipient, subject, the HTML as sent and where each link goes.

Put the send ID in the path: the send_id of an API email (Get an email's status) or the id from List a campaign's sent emails.

  • A copy of every sent email (campaign, follow-up, API email, Inbox reply) is kept for 30 days, until kept_until. Test sends are not kept.
  • The copy is safe to open: the open pixel is removed and the links are switched off (data-href instead of href), so reading it never counts an open or a click and never unsubscribes the recipient.
  • links lists each link with its text and its real destination (target). Our unsubscribe and spam-report links have kind unsubscribe or report_spam and no target.
  • truncated is true when the email was longer than 2 MB: the copy has its first 2 MB.

This endpoint has no parameters besides your API key.

Responses

  • 200The sent email. html is shortened here.
  • 404Not an email of your account, or no copy is kept (older than 30 days, sent before copies were kept, or not sent).
curl -X GET "https://api.smsedge.com/v2/email/sends/{send_id}" \
  -H "X-API-KEY: YOUR_API_KEY"
{
  "success": true,
  "data": {
    "id": 57514773,
    "sent_at": "2026-12-04 08:58:23",
    "kept_until": "2027-01-03 08:58:23",
    "to": "ben.1225@gmail.com",
    "to_name": "Ben",
    "from": "deals@example-shop.com",
    "from_name": "Example Shop",
    "reply_to": null,
    "subject": "Ben, your Black Friday preview is here",
    "html": "<h1>Black Friday starts early for you</h1><p>Hi Ben, members get 48 hours before everyone else…</p><p><a title=\"Goes to https://example-shop.com/black-friday?utm_source=email\" data-href=\"…\">Shop the preview</a></p>…",
    "truncated": false,
    "links": [
      {
        "text": "Shop the preview",
        "target": "https://example-shop.com/black-friday?utm_source=email",
        "kind": "link",
        "tracked": true
      },
      {
        "text": "See the size guide",
        "target": "https://example-shop.com/size-guide",
        "kind": "link",
        "tracked": true
      },
      {
        "text": "Unsubscribe",
        "target": null,
        "kind": "unsubscribe",
        "tracked": true
      }
    ],
    "links_known": true
  },
  "errors": [],
  "response": {
    "code": 200,
    "description": "OK",
    "date": "2026-12-04 09:07:51"
  }
}

All requests need your API key in the X-API-KEY header. See Authentication.