---
title: "Retrieve unread messages count"
method: GET
path: "/rts/messages/unread-count/"
tags: ["rts_messages"]
---

# Retrieve unread messages count

`GET /rts/messages/unread-count/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/rts/messages/unread-count/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `messages_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/rts/messages/unread-count/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve unread messages count

## Response `200`

OK

- object
  - `unread_count` number: Unread messages count

## Other responses

- `401`: Missing or invalid authorization.
- `403`: Missing permission.

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
