/messages/tracking/{id}
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
id
string Unique account identifier assigned by Riposte. You may also provide the custom user ID set during authentication; the API resolves it to the canonical account.
Returns
Aggregated tracking details for a sent message including counters and most recent events.
curl -X GET "http://localhost:8080/messages/tracking/{id}"
{
"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"
}
}