+49 69 83008980 service@xqueue.com
Benötigen Sie Hilfe?

Im Maileon Help-Center finden Sie umfassende Dokumentationen zu unserem System.

Beliebte Suchanfragen: Importe | Rest-API | Integrationen | SMS

Get Preview

Returns the preview of the mailing with the provided id.

GET https://api.maileon.com/1.0/mailings/:mailingid/preview

Attributes

Parameter Default Description
format html The format of the preview.

Supported values:

  • html
  • text
email If email or external_id are provided and a contact with those details exists then the contact properties of the contact will be used. Otherwise the contact properties of a generic contact will be used.
external_id

Body

{
  "tx": {
    "pboolean": false,
    "pstring": "Test"
  }
}

Example Response

Status: 200 OK
Content-Type: application/json

{
  "subjectError": false,
  "subject": "Test",
  "htmlError": false,
  "htmlAvailable": true,
  "html": "<!doctype html><html>...</html>"
}
Inhaltsverzeichnis