Overview

Integration

User guide

API reference

Webhooks

Tracking opens per email

Using the REST API #

For a single HTML email, add the property TrackOpens with a value of true. The default value of TrackOpens is false, so if it is not present or set to false Postmark will not add open tracking to that email.

Note: There is no way to disable open tracking on a per-email basis when the server's "Open tracking" setting is enabled. The server's enabled "Open tracking" setting will override an individual email's TrackOpens value to always be true.

{
  ...
  "TrackOpens": true
}

Using SMTP #

For an SMTP email with an HTML part, add the header X-PM-TrackOpensto your email and set it to true. If the header is not present or set to false Postmark will not add open tracking to that email.

X-PM-TrackOpens: true