curl --request POST \
--url https://apix.us.amity.co/api/v1/notification-tray/items/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"trayItems": [
{
"id": "<string>",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
]
}
'{
"trayItems": [
{
"id": "<string>",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
]
}Updates the seen status for specific notification items in the user’s notification tray
curl --request POST \
--url https://apix.us.amity.co/api/v1/notification-tray/items/seen \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"trayItems": [
{
"id": "<string>",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
]
}
'{
"trayItems": [
{
"id": "<string>",
"lastSeenAt": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Request to mark specific notification items as seen
List of notification items to mark as seen
Show child attributes
Response after successfully marking specific notifications as seen
List of updated notification items with their new seen status
Show child attributes