Skip to main content

Get Email

Retrieve detailed delivery status for a specific email, including per-recipient tracking.

Endpoint

GET /email/:id

Path Parameters

ParameterTypeDescription
idstringThe email ID returned from POST /email/send

Response

{
"id": "01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a",
"from": "noreply@yourdomain.com",
"from_name": "My App",
"to": [
{
"email": "user@example.com",
"status": "delivered",
"timestamp": "2026-03-08T12:00:05.000Z"
},
{
"email": "other@example.com",
"status": "bounced",
"timestamp": "2026-03-08T12:00:03.000Z"
}
],
"subject": "Welcome to our platform",
"html": "<h1>Welcome!</h1><p>Thanks for signing up.</p>",
"text": null,
"reply_to": null,
"category": "welcome",
"attachments": [
{
"filename": "guide.pdf",
"size": 204800,
"content_type": "application/pdf"
}
],
"created_at": "2026-03-08T12:00:00.000Z"
}

Recipient Status Values

StatusDescription
sentAccepted by the mail provider, delivery pending
deliveredConfirmed delivered to the recipient's inbox
openedRecipient opened the email
clickedRecipient clicked a link in the email
bouncedDelivery failed (address doesn't exist or mailbox full)
complainedRecipient reported the email as spam
rejectedThe mail provider rejected the message
unsubscribedRecipient unsubscribed via the email's unsubscribe link
render_failureThe email template failed to render

Examples

curl "https://api.arsel.sa/v1/email/01957e3a-4b5c-7d8e-9f0a-1b2c3d4e5f6a" \
-H "Authorization: Bearer be_your_api_key"

Error Responses

{
"status_code": 404,
"name": "not_found",
"message": "Email not found"
}