---
title: "Get Group Counters"
slug: "get-group-counters"
updated: 2026-09-03T14:50:33Z
published: 2026-09-03T14:50:33Z
canonical: "developer.rocket.chat/get-group-counters"
stale: true
---
> ## Documentation Index
> Fetch the complete documentation index at: https://developer.rocket.chat/llms.txt
> Use this file to discover all available pages before exploring further.
# Get Group Counters
Get/api/v1/groups.counters
Get the private channel information for the authenticated user.
Permission required: `view-room-administration`
### Changelog
| Version | Description |
| --- | --- |
| 0.65.0 | Added |
Header parametersX-Auth-TokenstringRequired
The `authToken` of the authenticated user.
ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired
The `userId` of the authenticated user.
ExamplerbAXPnMktTFbNpwtJ
Query parametersroomIdstring
The room ID. It is required if the `roomName` is not provided.
Exampledlpfuijw7ej
roomNamestring
The room name. It is required if the `roomId` is not provided.
Examplegeneral
userIdstring
Counters for provided user ID (you need to have the `view-room-administration` permission for calling user). This parameter is optional
Responses200
OK
**Note** The response returns the following information:
- joined - Boolean flag that shows the particular user has joined the room or not.
- members - Count of current room members.
- unreads - Count of unread messages for specified user (calling user or for the provided `userId`).
- unreadsFrom - Start date-time of unread interval for specified user.
- msgs - Count of messages in the room.
- latest - End date-time of unread interval for specified user (or date-time of last posted message).
- userMentions - Count of user mentions in messages.
Success
```json
{
"joined": true,
"members": 1,
"unreads": 1,
"unreadsFrom": "2018-02-18T21:51:20.091Z",
"msgs": 1,
"latest": "2018-02-23T17:20:17.345Z",
"userMentions": 0,
"success": true
}
```
object joinedboolean
membersinteger
unreadsinteger
unreadsFromstring
msgsinteger
lateststring
userMentionsinteger
successboolean
400
Bad Request
Example 1
```json
{
"success": false,
"error": "The required \"roomId\" or \"roomName\" param provided does not match any group [error-room-not-found]",
"errorType": "error-room-not-found"
}
```
object successboolean
errorstring
errorTypestring
401
Unauthorized
Authorization Error
```json
{
"status": "error",
"message": "You must be logged in to do this."
}
```
object statusstring
messagestring