Skip to content
dimmiDocs

Email

List emails received at an address

GET/api/v1/email-addresses/{address}/inbound-emails

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the settings:read ability

Path parameters

addressstringrequired

Id of the sending email address, starting with ema_, such as ema_01jx2m8k4t. Find it with GET /email-addresses.

Query parameters

filter[status]string

received, processing, processed, ignored, failed or quarantined.

limitstring

How many items to return in one page, such as 25.

cursorstring

Leave out for the first page. To read the next page, pass the next_cursor the previous page returned.

qstring

Words to search for, such as refund.

Response 200

OK
dataobject[] | nullrequired

The items of this page, as a list; empty when nothing matches.

Show child attributes
authanyrequired

What is known about the sender's authenticity: an object with spf, dkim, dmarc and an overall result. Null when not checked yet.

classificationstring | nullrequired

What kind of mail it is: normal, auto_reply, bounce, complaint, list, bulk, noreply, system_notice, loop, spam, forwarded or test. Null until classified.

conversationobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

envelope_tostring[] | nullrequired

The workspace's own addresses the email was delivered to.

errorstring | nullrequired

Why processing the email failed, in words. Null when it did not fail.

fromstring | nullrequired

The sender's email address from the From line. Null when it could not be read.

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

ignore_reasonstring | nullrequired

Why the email did not become a message. Null unless its status is ignored.

messageobjectrequired
Show child attributes
idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

processed_atstring | nullrequired

When handling the email finished. Null while it still waits or is being processed.

Format: date-time

received_atstringrequired

When the email arrived.

Format: date-time

size_bytesintegerrequired

Size of the raw email in bytes.

Format: int64

statusstringrequired

Where handling the email stands: received, processing, processed, ignored, failed or quarantined.

subjectstring | nullrequired

The email's subject line. Null when it has none.

linksobject

Addresses of related pages by name, such as next; left out when there are none.

metaobjectrequired
Show child attributes
next_cursorstring | nullrequired

Send it as cursor to read the next page; null on the last page.

per_pageintegerrequired

How many items a page holds at most, such as 25.

Format: int64

prev_cursorstring | nullrequired

Send it as cursor to read the page before; null on the first page.

totalinteger

How many items match in all; left out when the list does not count them.

Format: int64

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.