Inbound Emails
List Messages
Retrieves inbound email messages received on the authenticated project’s inbound-enabled domains. Supports filtering by domain, sender, recipient, thread, subject search, and date range, with pagination. Blocked/unrouted messages are excluded unless includeBlocked is set.
GET
This endpoint uses a standard project API key (
AS_ prefix). Messages are scoped to the project the key belongs to. Blocked and unrouted messages are excluded unless includeBlocked=true is set.Authorizations
Project API key header of the form Bearer
as_<key>. You can also pass the key via the x-api-key header.Query Parameters
Filter by sender email address (exact match, case-insensitive).Example:
"[email protected]"Filter by recipient email address (exact match, case-insensitive).Example:
"[email protected]"Filter to messages belonging to a specific conversation thread .Example:
"60d5ec49f1b2c72d9c8b1234"Case-insensitive substring search against the message subject.Maximum length:
200Return only messages created on or after this timestamp (ISO 8601).Example:
"2026-06-01T00:00:00.000Z"Return only messages created on or before this timestamp (ISO 8601).Example:
"2026-06-30T23:59:59.000Z"Page number (1-based). Defaults to
1.Minimum: 1Number of messages per page. Defaults to
50.Minimum: 1Maximum: 200Response
Messages retrieved successfullyIndicates if the request was successfulExample:
trueError Responses
Returned when a query parameter fails validation (e.g. a malformed
domainId, invalid email, or out-of-range limit).Returned when the API key is missing or invalid.