Messages

Get message plaintext

Changed on

Get a message's text content. If the original message only contained HTML, a simple plain text body will be generated.

HTTP links in the plain text email will be available when fetching the message's metadata at the message.links[] property.

Use the querystring param ?download=1 to trigger file download in browser.

get/text/{email}/{messageId}

Request

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

Response

OK

Changes

    • info

      api operation id GetBodyPlainText was added

    • info

      api tag Messages added

    • info

      api tag Email Messages API removed