Receiving

List received emails

Received emails for the team, newest first, with keyset pagination (after walks older, before walks newer, exclusive). List items carry metadata only; fetch one email for the body. Requires the inbound:read scope.

get/v1/emails/receiving

Request

  • Base URL: https://smtpfa.st/api
  • URL: https://smtpfa.st/api/v1/emails/receiving
  • Auth: HTTP bearer

Query parameters

limitinteger
afterstring

Return emails older than this id

beforestring

Return emails newer than this id

tostring

Only mail received for this address (not in Resend)

domain_idstring

Only mail received on this domain (not in Resend)

unreadboolean

true for unread mail only (not in Resend)

qstring

Search subject, sender and recipient (not in Resend)

Response

Received emails

objectstring
has_moreboolean
unread_countinteger

Unread emails matching the same to, domain_id and q filters (not in Resend)

Example response

{
  "object": "list",
  "data": [
    {
      "object": "email"
    }
  ]
}

Changes

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