Skip to content

Retrieving a preview for a Mailing Synchronization

GET /integrations/inxmail-professional/mailing-synchronizations/{id}/preview

Request Parameters

Parameter Required In Description
id yes path The ID of the mailing synchronization
kind no query Default: latest
  • latest: retrieves a preview for the latest version of a mailing
  • draft: retrieves the preview for the mailing draft
  • lastApproved: retrieves the preview for the approved mailing
testProfileId no query The preview can be personalized using test profiles from Inxmail Professional which can be collected via GET /mailing-synchronizations/{id}/test-profiles

Response Structure

Path Type Description
htmlContent String html part of the mailing
textContent String text part of the mailing
subject String subject of the mailing

Basic example


$ curl '' -i -X GET \
    -H 'Authorization: Basic <base64Encoded user:password>'


    "htmlContent": "<!DOCTYPE html PUBLIC....",
    "textContent": "test....",
    "subject": "New Mailing",
    "_links": {
        "self": {
            "href": "{?testProfileId,kind}",
            "templated": true