---
title: "Fetch Unreads"
method: GET
path: "/sync/unreads"
tags: ["Sync"]
---

# Fetch Unreads

`GET /sync/unreads`

Fetch information about unread state on channels.

## Response `200`

- ChannelUnread[]
  - `_id` ChannelCompositeKey, required — Composite primary key consisting of channel and user id
    - `channel` string, required — Channel Id
    - `user` string, required — User Id
  - `last_id` string, nullable — Id of the last message read in this channel by a user
  - `mentions` string[] — Array of message ids that mention the user

## Other responses

- `default` — An error occurred.

---

[API](https://skmtc.net/revolt/apis/revolt-api.md) · [All operations](https://skmtc.net/revolt/apis/revolt-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/revolt/revolt-api/revisions/fee80de86d4d/schema)
