DevicePreviewsController

Create a device preview run from imported raw MIME

post/emails/device-previews/import

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/device-previews/import
  • Auth: API key in header x-api-key

Request body

rawEmailBase64string required

Base64 encoded RFC822/MIME email contents. This should be the full raw email including headers and body, such as the bytes from an .eml file.

sourceAliasstring nullable

Optional source label to attach to the preview run.

externalIdstring nullable

Optional external source ID for correlating this import with another system.

Example request

{
  "options": {
    "targets": [
      "apple_mail_macos"
    ]
  }
}

Response

OK

Changes

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