# 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`._

```json
{
  ...
  "TrackOpens": true
}
```

## Using SMTP

For an SMTP email with an HTML part, add the header `X-PM-TrackOpens`to 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
```

[← Tracking opens per Server](/user-guide/tracking-opens/tracking-opens-per-message-stream) [Message opens API →](/user-guide/tracking-opens/message-opens-api)
