Get no of Unread messages per user in a room

Description

Hi all
I am looking for a way to get no of unread messages in a private room for every user
it can be an endpoint or some other way
i have gone through every most of the online articles but most of them revolve around general rooms or dont end up working the way its said to work in the dicussions thread

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

You provided zero server info… ? That doesn’t help.

Either way the short answer is I don’t believe you can unless you are a member of the room. Because by definition they are private.

Similar question asked recently if you search here.

Check the available APIs in the developer docs for more.