Inboxes

List thread emails

The messages of a thread, received and sent together, oldest first (after walks newer, before walks older). Not in Resend: latest=true returns the newest page instead of the oldest, still oldest first within it, so has_more means older messages exist; page back with before. Received messages carry status and the SPF, DKIM, DMARC, spam and virus verdicts (not in Resend), so an agent can tell a spoofed or flagged message from a clean one. Reading does not mark anything read. Requires the inbound:read scope.

get/v1/inboxes/{inbox_id}/threads/{thread_id}/emails

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/inboxes/{inbox_id}/threads/{thread_id}/emails
  • Auth: HTTP bearer

Path parameters

inbox_idstring required

The inbox id or its email address

thread_idstring required

The thread id

Query parameters

latestboolean

Start from the newest page. Not with after. Not in Resend.

limitinteger
afterstring

The id of the last message on the page; returns the next, newer page

beforestring

The id of the first message on the page; returns the previous, older page. Not with after.

Response

A page of messages

objectstring
has_moreboolean

Example response

{
  "object": "list"
}

Changes

No recorded changes to this operation across all 1 revision of this API.