RocketChat / RocketChat/Rocket.Chat

API calls for groups/private channels does not work for admins

Open
#15,435 13 comments 9 reactions 1 assignee View on GitHub

@sampaiodiego is already working on this.

Since Feb 24, 2026.

area: backend triaged
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When trying to get information on a group through the API as an administrator, I always receive the following response:

{
"success": false,
"error": "The required "roomId" or "roomName" param provided does not match any group [error-room-not-found]",
"errorType": "error-room-not-found"
}

This is probably due to the fact that the admin is not a member of the group, but in my opinion the admin should be able to see all channel and not have to join the private channels.

Steps to reproduce:
  1. Authenticate as an administrator user.
  2. Call any API endpoint for a specific group such as; groups.members, groups.info, groups.history.
Expected behavior:

The API calls should work because the administrator should have access to all channels.

Server Setup Information:
  • Version of Rocket.Chat Server: 1.2.1
  • Operating System: Ubuntu
  • Deployment Method: Docker

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.