Messages

List messages for an domain

Changed on

Get a list of messages across any inboxes of a domain. Messages are always sorted in decending order by when they were received, with the newest message always in the first position of the array.

The email message objects are abbreviated to provide basic meta data. To get more information about a specific message, use GET /api/addresses/{email}/messages/{messageId}.

The domain must be owned by the account making the request, and have DNS validated. Paginate with until?=<Date> and limit=<uint>.

get/domains/{domain}/messages

Request

  • Base URL
    https://mailsac.com/api
  • Auth
    • API key in query parameter _mailsacKey
    • or API key in header Mailsac-Key

Response

Email messages

inboxInbox (unresolved $ref)
toTo (unresolved $ref)
fromFrom (unresolved $ref)
subjectSubject (unresolved $ref)
originalInboxOriginalInbox (unresolved $ref)
sizeSize (unresolved $ref)
attachmentsAttachments (unresolved $ref)
receivedReceived (unresolved $ref)
bccBcc (unresolved $ref)
ccCc (unresolved $ref)
domainDomain (unresolved $ref)
folderFolder (unresolved $ref)
ipIp (unresolved $ref)
labelsLabels (unresolved $ref)
linksLinks (unresolved $ref)
readRead (unresolved $ref)
rtlsRtls (unresolved $ref)
savedBySavedBy (unresolved $ref)
spamSpam (unresolved $ref)
viaVia (unresolved $ref)

Changes

    • breaking

      the response's body type changed from object to array for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id ListDomainMessages was added

    • info

      api tag Messages added

    • info

      api tag Email Messages API removed