Skip to content
Skip to main content
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.

NYLAS API KEY

Parameters

Path parameters

message_id*string

The ID of the message. For an Agent Account send, this is the message ID the send returned. For a transactional send, it's the message's Message-ID header, such as <[email protected]>. Percent-encode it in the path: %3C0100019a1b2c3d4e%40mail.example.com%3E.

Example: "5a8f7b2e-3c1d-4e9f-8a6b-2d4c6e8f0a1b"

Responses

request_idstring

The request ID.

dataobject

Opens and link clicks for one message.

GEThttps://api.us.nylas.com/v3/activity/tracking/messages/5a8f7b2e-3c1d-4e9f-8a6b-2d4c6e8f0a1b

Find your API key in the Nylas Dashboard under API Keys in your application settings.

message_idrequiredstring

The ID of the message. For an Agent Account send, this is the message ID the send returned. For a transactional send, it's the message's Message-ID header, such as <[email protected]>. Percent-encode it in the path: %3C0100019a1b2c3d4e%40mail.example.com%3E.