curl --request GET \
--url https://apix.us.amity.co/api/v1/notification-tray/tray/seen \
--header 'Authorization: Bearer <token>'
{
"lastTraySeenAt": "2023-11-07T05:31:56Z",
"lastTrayOccurredAt": "2023-11-07T05:31:56Z"
}
Retrieves timestamps for when the user last viewed their notification tray and when the most recent notification occurred
curl --request GET \
--url https://apix.us.amity.co/api/v1/notification-tray/tray/seen \
--header 'Authorization: Bearer <token>'
{
"lastTraySeenAt": "2023-11-07T05:31:56Z",
"lastTrayOccurredAt": "2023-11-07T05:31:56Z"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response containing the user's notification tray seen timestamps
The response is of type object
.