---
title: "Get Users of Room Without Key (Realtime)"
slug: "get-users-of-room-without-key-realtime"
updated: 2026-05-14T20:16:13Z
published: 2026-05-14T21:51:36Z
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 Users of Room Without Key (Realtime)

![](https://cdn.us.document360.io/27ca1fd4-36d7-4cde-b4eb-97fc1652954c/Images/Documentation/Deprecated.svg)

This method returns all users of an encrypted room who don't yet have the E2E key on their subscription.

| Method | Requires Auth |
| --- | --- |
| `e2e.getUsersOfRoomWithoutKey` | Yes |

## Payload parameters

| Argument | Example | Required | Description |
| --- | --- | --- | --- |
| `rid` | `hifepo89jncls` | Required | The room ID to get the users from. |

## Example call

```json
{
    "msg": "method",
    "method": "e2e.getUsersOfRoomWithoutKey",
    "id": "8",
    "params": [
        "rid"
    ]
}
```

## Example response

```json
{
    "msg": "result",
    "id": "8",
    "result": {
        "users":[{
            "_id":"AAoQ7b25AAXcJQryY",
            "e2e":{
                "public_key":"{\"alg\":\"RSA-OAEP-256\",\"e\":\"AQAB\",\"ext\":true,\"key_ops\":[\"encrypt\"],\"kty\":\"RSA\",\"n\":\"i6MWRdJU2Kh2NhNP5Ori3SlIlfEQL9h-dopNkMC_B84GsEINZv1LLrue7WxMaH72qq-y7mkX7DiwEFVEx6expJK1xrrSZ1XKr3CKnrJZxJmnPiegaE_0bYkRAH6uS_QM6wVv4Bt-Wl9JaKl9U2jSIpXz1rbDaT0STAc3ods4sBtIPcpNLFpvab_j0tBiRVWJxkCRU4MOYdsGGrdTj86uut1AOuPdfzfHdisHIum_CHdRrjFVWTQAjZ7lzOa9oknc-7gWBdpEq09x1L_zianJO7iLtf6VcyFH6xJNKrt99r6c6bpi9I-MVoT4zQskcmGIFX7lqclZHk03gwGqXw5nyQ\"}"
            }
        },{
            "_id":"wAdMMfMhp7KBiKjuz",
            "e2e":{
                "public_key":"{\"alg\":\"RSA-OAEP-256\",\"e\":\"AQAB\",\"ext\":true,\"key_ops\":[\"encrypt\"],\"kty\":\"RSA\",\"n\":\"ykbtB7JiIQHReyeYlPIbpelHVhKCHDruzfPb4FF0n_NNDMBMjxJQr4lplfNroxHvhZYoWdvfRIjdR183vmperTrClvyS2oR1_mh7jjLsvAyqfl9Bw3SaHbIL8eIBRqD1A_7VDR3PNbRIafoYHPHooqqLw-VVUml53UZdKnY5cZXnlWGOI0FZk_XZgZqTmlVBPeLOuMuGDCiSjpVd2G19A3MBH7zs80jTelWiSRgjE5qmRIKUYP8i0F65BWi6gDNyQgPneALVLZ6b-c32_4u09mwyDfq3Jus_WVyG3bkuPMShIvyQo-KvzQDSJXp7xZ3tLUhI3VbuYuozQSl8WCv6GQ\"}"
            }
        }]
    }
}
```

## Changelog

| Version | Description |
| --- | --- |
| 0.70.0 | Added |
