Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string
required

The customer's id

email_log_id
string
required

The email log entry's id

Response

The email's stored body

merchant_authored
boolean
required

Whether the merchant wrote this content. It is true for the recovery and dunning emails, which the merchant writes.

The content is email HTML. Render it in a sandbox, whatever this value is.

failure_code
null | enum<string>

Why the email did not arrive. It is null unless the email failed.

Available options:
mailbox_not_found,
address_rejected,
address_suppressed,
mailbox_full,
temporary_failure,
message_too_large,
marked_as_spam,
send_failed,
test_mode_quota_spent
failure_reason
string | null

A sentence that explains failure_code. It is null unless the email failed.

html
string | null

The stored HTML. It is null on a text-only email.

text
string | null

The stored plain text.

Last modified on September 18, 2026