API · Emails
Retrieve Sent Email
Retrieve an email, including its content, tags, and scheduled send time (requires full access). Unavailable content and message IDs are null, and missing recipient lists are empty arrays.
GET
/emails/{id}Full accessRequest parameters
| Parameter | Type | Description |
|---|---|---|
idpath · required | string | Opaque resource id. |
Request example
Set OPENSEND_BASE_URL=https://api.example.com and OPENSEND_API_KEY=os_replace_me on your server.
bash
curl -X GET "$OPENSEND_BASE_URL/emails/YOUR_id" \
-H "Authorization: Bearer $OPENSEND_API_KEY"Response
200 · application/json. Example IDs stand for IDs returned by your installation.
json
{
"id": "YOUR_ID",
"message_id": "YOUR_MESSAGE_ID",
"to": [
"example"
],
"from": "example",
"created_at": "example",
"subject": "example",
"bcc": [
"example"
],
"cc": [
"example"
],
"reply_to": [
"example"
],
"last_event": "queued",
"scheduled_at": "example",
"object": "email",
"html": "example",
"text": "example",
"tags": [
{
"name": "example",
"value": "example"
}
]
}Behavior and errors
last_event reflects Opensend’s status precedence. Inspect dashboard timeline entries for individual recipient outcomes.
Use a full-access credential. Resource IDs belong to your team; an unknown or foreign resource returns 404. See authentication, errors, rate limits, and compatibility for the shared contract.