Skip to main content
The dashboard endpoints provide access to tracked email data and open events. The HTML dashboard is publicly accessible, while API endpoints require authentication.

Dashboard UI

GET /dashboard serves the dashboard HTML interface. This endpoint does not require authentication. Access control should be handled at the reverse proxy level if needed.
Access the dashboard in your browser at http://localhost:8080/dashboard (development) or https://your-domain.com/dashboard (production). The dashboard provides a web interface for viewing tracked emails and analytics without needing to make API calls directly.

Authentication

All dashboard endpoints require the X-Tracker-Token header:
Set the expected token using the DASHBOARD_TOKEN environment variable:
Requests without a valid token will receive a 401 Unauthorized response.

List tracked emails

Retrieve all tracked emails with aggregated open statistics.

Request headers

string
required
Authentication token matching the DASHBOARD_TOKEN environment variable

Response

boolean
required
Indicates whether the request was successful
array
required
Array of tracked email objects
string
Unique identifier for the email
string
User who sent the email
string
Recipient email address
string | null
Sender email address
string
ISO 8601 timestamp when the email was sent
number
Number of unique opens (excluding duplicates and suppressed opens)
number
Total number of open events (excluding duplicates and suppressed opens)
number
Total number of raw open events (including duplicates and suppressed opens)
string | null
ISO 8601 timestamp of the most recent open (excluding duplicates and suppressed opens)
boolean
Whether the email has been opened at least once
string
ISO 8601 timestamp when the tracking record was created

Example request

Example response

Error response

List open events

Retrieve all open events, optionally filtered by email ID.

Request headers

string
required
Authentication token matching the DASHBOARD_TOKEN environment variable

Query parameters

string
Optional. Filter open events for a specific email ID

Response

boolean
required
Indicates whether the request was successful
array
required
Array of open event objects (excludes duplicates and sender-suppressed events)
number
Unique identifier for the open event
string
Email identifier this event belongs to
string
User who sent the email
string
Recipient email address
string
ISO 8601 timestamp when the email was opened
string | null
IP address of the client that opened the email
string | null
User agent string from the client
string | null
Country code from IP geolocation (if available)
string | null
Region/state from IP geolocation (if available)
string | null
City from IP geolocation (if available)
number | null
Latitude from IP geolocation (if available)
number | null
Longitude from IP geolocation (if available)
string
Device type detected from user agent
number
Whether this event was flagged as a duplicate (0 or 1)
number
Whether this event was suppressed by sender (0 or 1)
string | null
Reason for suppression (e.g., “mark_suppress_next”)

Example request (all events)

Example request (filtered by email)

Example response

Error response

Notes

  • Results are ordered by creation date (descending)
  • Open events query excludes duplicate and sender-suppressed events by default
  • All timestamps are in ISO 8601 format
  • Geolocation data is optional and depends on your IP geolocation setup