Get Transactional Email
GET https://api.campaignlark.com/v1/emails/:id
Returns the email from the list endpoint plus its content and delivery details. Emails are kept for 30 days; after that this returns 400 with This email wasn't found. Check the ID; emails are kept for 30 days.
Response — 200 OK
{
"data": {
"id": "69b2a1f0be03b743d4b9b7c1",
"status": "DELIVERED",
"to": "jane@example.com",
"subject": "Aktiviere dein Konto",
"contact_id": "69a01c2fbe03b743d4b90011",
"reference": "user-42",
"track_opens": false,
"track_clicks": true,
"add_unsubscribe_header": false,
"created_at": "2026-11-26T09:00:00Z",
"from": { "email": "hello@example.com", "name": "Example" },
"reply_to": null,
"to_recipient": { "email": "jane@example.com", "name": "Jane" },
"cc": [],
"bcc": [{ "email": "audit@example.com" }],
"html": "<p>{{#if (eq data.language \"de\")}}Hallo{{else}}Hi{{/if}} {{data.name}} ...</p>",
"text": "",
"headers": { "X-Entity-Ref-ID": "user-42" },
"attachments": [{ "filename": "welcome.pdf", "content_type": "application/pdf", "size": 48213 }],
"recipients": 2,
"sent_at": "2026-11-26T09:00:02Z",
"delivered_at": "2026-11-26T09:00:04Z",
"bounced_at": null,
"bounce_type": "",
"bounce_reason": "",
"failure_reason": "",
"failed_recipients": ["audit@example.com"],
"clicks": 1
}
}
html and text are stored as submitted, before templating. attachments lists metadata only; attachment content is never stored. bounce_reason is the receiving server's response for a bounce. opens and clicks are present only when that tracking was on. recipients counts to, cc and bcc. failed_recipients (array of email address strings) is present only when a cc or bcc copy still couldn't be handed to our mail servers after retries; those copies are refunded to your plan's monthly email limit.