Messages

Count messages for an email inbox

Changed on

Get the number of messages for an email inbox address. It is NOT necessary to reserve the address before using this route. Whether it is an address on a custom domain, or a public domain, or mailsac.com, the mail can be counted as long as nobody else owns it.

get/addresses/{email}/message-count

Request

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

Response

Email messages

countnumber
inboxstring

Example response

{
  "count": 3,
  "inbox": "example@mailsac.com"
}

Changes

    • info

      api operation id CountMessages was added

    • info

      api tag Messages added

    • info

      api tag Email Messages API removed