Skip to content
AzimeaDocs
Dashboard

Retrieve a transactional email

GET
/sending/emails/{id}
curl --request GET \
--url https://api.azimea.com/v1/sending/emails/example \
--header 'Authorization: Bearer <token>'

Returns the submission and each recipient’s current status and reason. Use the id returned by POST /sending/emails. The account’s API key needs emails:read. BCC addresses are visible only to the sending account, never in email headers.

id
required
string format: guid

The submission and its recipient deliveries

Media typeapplication/json
object
isSuccess

true when the call worked, false when errors say why it did not.

boolean
value

The answer itself; null when the call failed.

object
id

The submission id. Use it to retrieve all recipient statuses. For a single recipient it is also the delivery id.

string format: guid
status

The common delivery status, or Mixed when recipients have different statuses. Inspect recipients for the individual outcomes.

string
reason

The common reason when all recipients share one; null otherwise. Inspect recipients[].reason for individual problems.

string
nullable
recipients

All recipient deliveries, including suppressed ones. Each has independent status, retries, tracking and quota usage.

Array<object>
object
id

The delivery id for this recipient. Matches message_id in delivery webhooks.

string format: guid
email

The normalized recipient address. Empty after retention removes personal data.

string
name

The optional recipient display name.

string
nullable
kind

Whether the recipient was requested as To, Cc or Bcc.

string
Allowed values: To Cc Bcc
status

This recipient’s current delivery status. Queued and Sent do not mean Delivered.

string
Allowed values: Queued Sent Failed Suppressed Delivered Bounced HandingOff Accepted Unknown PendingReview
reason

The reason for suppression, waiting or failure, when present.

string
nullable
sendAt

Requested UTC schedule, or null for immediate sends. Queued also covers a future schedule.

string format: date-time
nullable
templateId

The template used at acceptance, if any.

string format: guid
nullable
metadata

Caller correlation data; removed when retention erases message content.

object
key
additional properties
string
tags

Caller labels; removed when retention erases message content.

object
key
additional properties
string
status

An internal result number. Rely on the HTTP status code instead.

integer format: int32
errors

What went wrong, one entry per problem; empty when the call worked.

Array<object>
object
code

A stable code such as audience.contact_not_found. Branch on this, never on message. Every code is listed in the error codes catalog.

string
message

An English sentence for your logs. Do not show it to end users: it can change.

string
params

The numbers the message mentions (a minimum, a maximum), when there are any.

object
key
additional properties
fieldErrors

The same problems grouped by the request field they belong to; null when none is tied to a field.

object
key
additional properties
Array<object>
object
code

A stable code such as audience.contact_not_found. Branch on this, never on message. Every code is listed in the error codes catalog.

string
message

An English sentence for your logs. Do not show it to end users: it can change.

string
params

The numbers the message mentions (a minimum, a maximum), when there are any.

object
key
additional properties
Example
{
"isSuccess": true,
"value": {
"id": "01a10900-0000-7000-8000-000000000301",
"status": "Delivered",
"reason": null,
"recipients": [
{
"id": "01a10900-0000-7000-8000-000000000301",
"email": "emma@example.com",
"name": "Emma",
"kind": "To",
"status": "Delivered",
"reason": null
}
],
"sendAt": null,
"templateId": null,
"metadata": {},
"tags": {}
},
"status": 0,
"errors": [],
"fieldErrors": null
}

Unauthorized

Forbidden

The email does not exist in this account

Media typeapplication/json
object
isSuccess

true when the call worked, false when errors say why it did not.

boolean
value

The answer itself; null when the call failed.

nullable
status

An internal result number. Rely on the HTTP status code instead.

integer format: int32
errors

What went wrong, one entry per problem; empty when the call worked.

Array<object>
object
code

A stable code such as audience.contact_not_found. Branch on this, never on message. Every code is listed in the error codes catalog.

string
message

An English sentence for your logs. Do not show it to end users: it can change.

string
params

The numbers the message mentions (a minimum, a maximum), when there are any.

object
key
additional properties
fieldErrors

The same problems grouped by the request field they belong to; null when none is tied to a field.

object
key
additional properties
Array<object>
object
code

A stable code such as audience.contact_not_found. Branch on this, never on message. Every code is listed in the error codes catalog.

string
message

An English sentence for your logs. Do not show it to end users: it can change.

string
params

The numbers the message mentions (a minimum, a maximum), when there are any.

object
key
additional properties
Examplegenerated
{
"isSuccess": true,
"value": "example",
"status": 1,
"errors": [
{
"code": "example",
"message": "example",
"params": {
"additionalProperty": "example"
}
}
],
"fieldErrors": {
"additionalProperty": [
{
"code": "example",
"message": "example",
"params": {
"additionalProperty": "example"
}
}
]
}
}

Too many requests for this key. Wait the number of seconds in the Retry-After header, then send again.