Skip to content

Tracking

Public endpoints for open and click tracking. These are called automatically by email clients - no authentication required.

Track email open

Request

Open tracking pixel endpoint. Returns a 1x1 transparent GIF.

How it works:

  • When you enable track_opens: true in your email send request, MailerLogic automatically injects a tracking pixel into the HTML body
  • The pixel contains a unique encrypted token specific to that email
  • When the recipient opens the email, their email client loads the pixel, triggering this endpoint
  • The open event is recorded and available via the Events API

Public endpoint - no authentication required. The token provides the necessary context.

Path
tokenstringrequired

Encrypted tracking token automatically generated and embedded by MailerLogic. Contains email_id and recipient information. You do not need to generate this token - it is created automatically when sending emails with tracking enabled.

curl -i -X GET \
  'https://api.mailerlogic.net/track/o/{token}'

Responses

Tracking pixel returned

Bodyimage/gif
string, (binary)
Response
string