GET
/
api
/
v1
/
notification-tray
/
tray
/
seen
Get notification tray seen status
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"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Response containing the user's notification tray seen timestamps

lastTraySeenAt
string<date-time>
required

Timestamp when the user last viewed their notification tray

lastTrayOccurredAt
string<date-time>
required

Timestamp of the most recent notification in the tray