curl --request POST \
--url https://apix.us.amity.co/api/v1/notification-tray/tray/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lastSeenAt": "2023-11-07T05:31:56Z"
}
'{
"lastSeenAt": "2023-11-07T05:31:56Z"
}Updates the seen status for the user’s notification tray
curl --request POST \
--url https://apix.us.amity.co/api/v1/notification-tray/tray/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"lastSeenAt": "2023-11-07T05:31:56Z"
}
'{
"lastSeenAt": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to mark all notifications as seen
Timestamp to mark as last seen for all notifications (should not exceed server time by more than 10 seconds)
Response after successfully marking all notifications as seen
Updated timestamp for when all notifications were marked as seen