Get One Transactional Email
Retrieve the full details of a specific transactional email by using its unique identifier.
📩 Get One Transactional Email
Use this endpoint to fetch the data of a specific transactional email, including metadata, content, and attachments.
🔹 HTTP Request
GET API-URL/transactional-emails/EMAIL-UNIQUE-ID
🔸 URL Segment
Segment
Required
Description
EMAIL-UNIQUE-ID
Yes
Unique ID of the transactional email.
🔐 Authorization Header
X-API-KEY: your-api-key-here
💻 PHP Example
// GET ONE ITEM
$response = $endpoint->getEmail('EMAIL-UNIQUE-ID');
// DISPLAY RESPONSE
echo '<hr /><pre>';
print_r($response->body);
echo '</pre>';
📦 Sample JSON Response
{
"status": "success",
"data": {
"record": {
"email_uid": "em847xqvnlz45",
"customer_id": "102",
"to_email": "[email protected]",
"to_name": "Lucas Smith",
"from_email": "[email protected]",
"from_name": "Emma James",
"reply_to_email": "[email protected]",
"reply_to_name": "Emma James",
"subject": "📧 Important Update – Please Review",
"body": "<strong>Hello Lucas, please find the attached document for your review.<\/strong>",
"plain_text": "Hello Lucas, please find the attached document for your review.",
"priority": "5",
"retries": "0",
"max_retries": "3",
"send_at": "2025-04-17 11:15:00",
"fallback_system_servers": "no",
"status": "sent",
"date_added": "2025-04-17 11:15:05",
"last_updated": "2025-04-17 11:16:10",
"attachments": [
{
"type": "application/pdf",
"name": "monthly-report-april.pdf",
"data": "Email attachment content blob"
}
]
}
}
}
Last updated