---
title: "Get unread messages"
method: GET
path: "/api/v4/users/{user_id}/channels/{channel_id}/unread"
tags: ["channels"]
---

# Get unread messages

`GET /api/v4/users/{user_id}/channels/{channel_id}/unread`

Get the total unread messages and mentions for a channel for a user.
##### Permissions
Must be logged in as user and have the `read_channel` permission, or have `edit_other_usrs` permission.

## Path parameters

- `user_id` string, required
- `channel_id` string, required

## Response `200`

Channel unreads retrieval successful

- 38cb7293ChannelUnread
  - `team_id` string
  - `channel_id` string
  - `msg_count` integer
  - `mention_count` integer

## Other responses

- `400` — Invalid or missing parameters in URL or request body
- `401` — No access token provided
- `403` — Do not have appropriate permissions
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
