List emails received at an address
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the settings:read ability
Path parameters
addressstringrequiredId of the sending email address, starting with ema_, such as ema_01jx2m8k4t. Find it with GET /email-addresses.
Query parameters
filter[status]stringreceived, processing, processed, ignored, failed or quarantined.
limitstringHow many items to return in one page, such as 25.
cursorstringLeave out for the first page. To read the next page, pass the next_cursor the previous page returned.
qstringWords to search for, such as refund.
Response 200
OKdataobject[] | nullrequiredThe items of this page, as a list; empty when nothing matches.
Show child attributesHide child attributes
authanyrequiredWhat is known about the sender's authenticity: an object with spf, dkim, dmarc and an overall result. Null when not checked yet.
classificationstring | nullrequiredWhat kind of mail it is: normal, auto_reply, bounce, complaint, list, bulk, noreply, system_notice, loop, spam, forwarded or test. Null until classified.
conversationobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
envelope_tostring[] | nullrequiredThe workspace's own addresses the email was delivered to.
errorstring | nullrequiredWhy processing the email failed, in words. Null when it did not fail.
fromstring | nullrequiredThe sender's email address from the From line. Null when it could not be read.
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
ignore_reasonstring | nullrequiredWhy the email did not become a message. Null unless its status is ignored.
messageobjectrequiredShow child attributesHide child attributes
idstringrequiredThe id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
objectstringrequiredThe kind of record this is, the same for every record of its kind, such as article.
processed_atstring | nullrequiredWhen handling the email finished. Null while it still waits or is being processed.
Format: date-time
received_atstringrequiredWhen the email arrived.
Format: date-time
size_bytesintegerrequiredSize of the raw email in bytes.
Format: int64
statusstringrequiredWhere handling the email stands: received, processing, processed, ignored, failed or quarantined.
subjectstring | nullrequiredThe email's subject line. Null when it has none.
linksobjectAddresses of related pages by name, such as next; left out when there are none.
metaobjectrequiredShow child attributesHide child attributes
next_cursorstring | nullrequiredSend it as cursor to read the next page; null on the last page.
per_pageintegerrequiredHow many items a page holds at most, such as 25.
Format: int64
prev_cursorstring | nullrequiredSend it as cursor to read the page before; null on the first page.
totalintegerHow many items match in all; left out when the list does not count them.
Format: int64
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.