/messages/tracking/{trackingId} Get tracking status for a message
Retrieve the latest tracking metrics and recent events for a tracked message created via the send API. Includes aggregated open, click, and reply counts.
Parameters
trackingId string Tracked message identifier
Returns
Aggregated tracking details for a sent message including counters and most recent events.
curl -X GET "http://localhost:8080/messages/tracking/{trackingId}"
{
"tracking": {
"id": "trk_01HZY8B4S9PD2TS2VYB2XWFR7P",
"messageId": "msg_01HZY8AW50MP89C11DW00SHM3R"
},
"metrics": {
"totalEvents": 6,
"openCount": 3,
"clickCount": 2,
"replyCount": 1,
"lastEventAt": "2024-06-12T19:00:00.000Z",
"lastOpenedAt": "2024-06-12T18:45:10.000Z",
"lastClickedAt": "2024-06-12T18:55:32.000Z",
"lastRepliedAt": "2024-06-12T18:59:03.000Z"
}
}