- API reference
- Tracking events
- Return a message's opens and clicks
GET
https://api.us.nylas.com/v3/activity/tracking/messages/{message_id}Return a message's opens and clicks
Returns engagement for one message: how many times it was opened, when it was first and last opened, and how many clicks each link got. Opens and clicks are counted per message, not per recipient. Covers messages sent in the last 90 days.
Works with an API key or an IAM API key with the tracking_activity.read permission.
Example:
"b6b9461a-1ebd-4fb6-9cae-df7dc1f31baa"Example:
"0b7e5a6b-0cbd-4a39-b3ba-2b53b1b0a7d6"labelstringThe tracking_options.label you set when you sent the message. Empty until the message has at least one open or click.
Example:
"october-newsletter"eventsarray<object>The 100 most recent opens and clicks, newest first. The totals count every open and click.
Forbidden. The request used a grant access token, or an API key that doesn't have the required permission. These endpoints need your application's API key.