---
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.

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-26** `7a23c8b93766` — 1 breaking
  - added `subschema #65, subschema #66, subschema #67, subschema #81, subschema #82, subschema #83, subschema #84, subschema #85, subschema #86, subschema #87, subschema #88, subschema #89, subschema #90, subschema #91, subschema #92, subschema #93, subschema #94, subschema #95` to the response body `oneOf` list for the response status `default`

[Change history](https://skmtc.dev/revolt/apis/revolt-api/changes/sync/unreads/get.md)

---

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