Skip to content

List the last 50 inbound mailbox messages (environment-scoped)

GET
/v1/tenants/me/inbox/messages
curl --request GET \
--url https://api.emite.cr/v1/tenants/me/inbox/messages \
--header 'Authorization: Bearer <token>'

Metadata only (the email body is never persisted): from, subject, receivedAt, status (received|processed|rejected|ignored), rejectReason and the linked import batch when one was created. Newest first, in the environment of the request. An email to an address no company has is dropped without a log entry.

Media typeapplication/json
Array<object>
object
id
required

Id of the log entry.

string format: uuid
messageId
required

The email's Message-ID header — what tells a redelivery apart from a new email.

string
fromAddress
required

Sender, as the email states it (From); null when unknown.

string
nullable
subject
required

Subject of the email; null when it had none.

string
nullable
receivedAt
required

When the email was logged.

string format: date-time
status
required

received: logged, its import is queued or running. processed: an import batch was created with its XML (documentImportId). rejected: dropped, see rejectReason. ignored: nothing to import.

string
Allowed values: received processed rejected ignored
rejectReason
required

Why it was not imported, a short code: inbox_disabled, rate_limited (over 100 emails in an hour to the company's addresses) or processing_failed for rejected; no_candidate_attachments (no .xml or .zip attached) for ignored. null otherwise.

string
nullable
attachmentCount
required

Attachments taken for import: the .xml and .zip files, at most 10.

number
documentImportId
required

The import batch created from it (GET /v1/documents/imports/{id}); null when none was.

string format: uuid
nullable
Example
[
{
"status": "received",
"rejectReason": "inbox_disabled"
}
]

Missing or invalid JWT / API key.