Skip to main content
GET
/
api
/
unread
Get unread states
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
    }
  ]
}

Authorizations

Authorization
string
header
required

Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer

Response

200 - application/json

Unread states

data
object[]