Skip to content

GET /v1/mailing/email-message/{id} ​

Retrieve the status and tracking data of an individual email message.

Overview ​

Use this endpoint to inspect a single email message after processing.
It returns the email-level object, including recipient, delivery status, timestamps, tracking counters, and error information.

Endpoint ​

http
GET /v1/mailing/email-message/{id}

Path parameters ​

ParameterTypeRequiredDescription
idstringYesIdentifier of the email message (msg_...).

Example request ​

bash
curl -X GET https://api.mailiqo.com/v1/mailing/email-message/msg_8c2db7094df247c4b03fxxxxxxxxxxxx \
  -H "X-API-KEY: YOUR_API_KEY"

Example response ​

json
{
  "status": "success",
  "data": {
    "id": "msg_8c2db7094df247c4b03fxxxxxxxxxxxx",
    "send_id": "snd_ecbc059748234c9c9cbbxxxxxxxxxxxx",
    "recipient_email": "[email protected]",
    "recipient_type": "to",
    "status": "delivered",
    "validation": {
      "checked": true,
      "pending": false,
      "advanced": true,
      "classification": "valid",
      "reason": null,
      "reason_code": null,
      "checked_at": "2026-01-01T10:29:07+00:00"
    },
    "error_code": null,
    "error_message": null,
    "created_at": "2026-01-01T10:29:07+00:00",
    "submitted_at": "2026-01-01T10:29:07+00:00",
    "sent_at": "2026-01-01T10:29:07+00:00",
    "delivered_at": "2026-01-01T10:29:07+00:00",
    "bounced_at": null,
    "complained_at": null,
    "rejected_at": null,
    "error_at": null,
    "failed_at": null,
    "first_opened_at": "2026-01-01T11:00:00+00:00",
    "last_opened_at": "2026-01-02T17:00:00+00:00",
    "first_clicked_at": null,
    "last_clicked_at": null,
    "opens_count": 2,
    "clicks_count": 0
  }
}

The fields described below are the ones inside data.

Response fields ​

FieldTypeDescription
idstringIdentifier of the email message (msg_...).
send_idstringIdentifier of the original email request (snd_...).
recipient_emailstringRecipient email address.
recipient_typestringRecipient type: to, cc, or bcc.
statusstringCurrent status of the email message.
validationobjectResult of the pre-send validation. Always present; if there is no result yet, checked is false. See Reading the result.
error_codestring or nullError code if delivery failed.
error_messagestring or nullError message if delivery failed.
created_atstring (ISO 8601)Timestamp when the email message was created.
submitted_atstring (ISO 8601) or nullTimestamp when the email was submitted for processing.
sent_atstring (ISO 8601) or nullTimestamp when the email was sent to the provider.
delivered_atstring (ISO 8601) or nullTimestamp when the email was delivered to the recipient.
bounced_atstring (ISO 8601) or nullTimestamp when the email bounced.
complained_atstring (ISO 8601) or nullTimestamp when the recipient complained.
rejected_atstring (ISO 8601) or nullTimestamp when the email was rejected.
error_atstring (ISO 8601) or nullTimestamp when an error was recorded.
failed_atstring (ISO 8601) or nullTimestamp when the email failed.
first_opened_atstring (ISO 8601) or nullTimestamp of the first open event.
last_opened_atstring (ISO 8601) or nullTimestamp of the last open event.
first_clicked_atstring (ISO 8601) or nullTimestamp of the first click event.
last_clicked_atstring (ISO 8601) or nullTimestamp of the last click event.
opens_countintegerTotal number of times the email was opened.
clicks_countintegerTotal number of times links in the email were clicked.

The validation object ​

This is where you read the result of recipient validation. Advanced validation happens during sending, after POST /send has already answered you, so this block is the only way to see it.

FieldTypeDescription
checkedbooleanA validation result is already available.
pendingbooleanIt was marked to be checked and sending has not validated it yet.
advancedbooleanThe check used an advanced validation credit.
classificationstring or nullvalid, catch_all, risky, unknown or invalid.
reasonstring or nullHuman-readable reason when the result is not valid.
reason_codestring or nullStable code for the reason.
checked_atstring (ISO 8601) or nullDate of the check, not of the send: reusing an earlier result does not renew it.

When validation drops a recipient, status becomes rejected and the reason also appears in error_message.

Common status values ​

StatusMeaning
processingWaiting for processing.
submittedSubmitted for processing.
sentSent to provider.
delivery_delayedDelivery is temporarily delayed.
deliveredDelivered successfully.
openedOpened by the recipient.
clickedA link was clicked by the recipient.
bouncedRejected by recipient server.
complainedMarked as spam by recipient.
rejectedRejected by provider.
quarantinedHeld for manual review.
errorFailed to send due to an error.
failedFinal failed state.
retry_scheduledScheduled for a retry.

HTTP responses ​

StatusMeaning
200Email message found and returned.
404Email message not found.
500Internal server error.

Error response format ​

json
{
  "status": "error",
  "error": {
    "code": "9999",
    "message": "Detailed error message describing the issue."
  }
}

Notes ​

  • This endpoint returns one individual email message.
  • One send request may generate multiple email records, depending on recipients.
  • Use send_id to relate the message back to the original request.
  • The response also includes uuid and email_message_base_uuid, the same identifiers without the prefix. See Identifiers.
  • POST /v1/mailing/send
  • GET /v1/mailing/email-request/{id}

Built with VitePress