List messages for an email inbox
Changed onGet a list of messages for the email address. 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}.
It is NOT necessary to reserve the address before checking mail! Whether it is an address on a custom domain, or a public domain, or mailsac.com, the mail can be checked with this route.
Request
- Base URLhttps://mailsac.com/api
- Auth
- API key in query parameter _mailsacKey
- or API key in header Mailsac-Key
Response
Email messages
Example response
[
{
"_id": "m3phnJ2ag3example-0",
"domain": "example.com",
"received": "1985-04-12T23:20:50.52Z",
"attachments": [
"5ea9c924627e68f988c9c7ca44340892"
],
"spam": 0.345
}
]Changes
- breaking
the response's body type changed from
objecttoarrayfor 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
ListMessageswas added - info
api tag
Messagesadded - info
api tag
Email Messages APIremoved
- breaking