cURL
curl --request GET \ --url http://localhost:8091/api/unread \ --header 'Authorization: Bearer <token>'
{ "data": [ { "channelId": "<string>", "lastReadAt": "2023-11-07T05:31:56Z", "mentionCount": 123, "unreadCount": 123 } ] }
Returns unread message counts and mention counts for all channels the user has read positions in.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Unread states
Show child attributes