---
title: "Get Admin of Room"
slug: "get-admin-of-room"
updated: 2026-06-08T12:46:40Z
published: 2026-06-08T12:46:40Z
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 Admin of Room

Get/api/v1/rooms.adminRooms.getRoom

Retrieves the admin of a room.

Permission required: `view-room-administration`

### Changelog

| Version | Description |
| --- | --- |
| 2.4.0 | Added |

Header parametersX-Auth-TokenstringRequired

The `authToken` of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-IdstringRequired

The `userId` of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ

Query parametersridstringRequired

The room ID.

Example654c9d1ca2f73c7460e1918b

Responses200

OK

<select class='api-response-data' aria-label='Media type'><option value='c456f8c0-a157-41c4-8fdc-cda69d092f56'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='24432928-2aa0-49f8-8a77-f5c654b59119'>Success</option>
</select>Success

```json
{
  "_id": "ukFsHiySDhMkQyyyF",
  "name": "freightwave",
  "fname": "freightwave",
  "t": "p",
  "msgs": 4,
  "usersCount": 1,
  "u": {
    "_id": "Gd6iymRZBK4C6wqHN",
    "username": "bruno.raymundo"
  },
  "ro": false,
  "default": false,
  "success": true
}
```

Expand Allobject  _idstring    
namestring    
fnamestring    
tstring    
msgsinteger    
usersCountinteger    
uobject  _idstring    
usernamestring    

roboolean    
defaultboolean    
successboolean    

401

Unauthorized

<select class='api-response-data' aria-label='Media type'><option value='8f8f527a-1937-4271-8562-1dc079302851'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='92f5a656-0e6e-499e-a9b3-46e4621d02e6'>Authorization Error</option>
</select>Authorization Error

```json
{
  "status": "error",
  "message": "You must be logged in to do this."
}
```

object  statusstring    
messagestring    

403

Forbidden

<select class='api-response-data' aria-label='Media type'><option value='18d00178-4812-45c8-907c-b5d36c4c4a3c'>application/json</option>
</select><select class='select-example' aria-label='Media type'><option value='35b470d6-ae8a-43aa-881a-6715da2ef8cc'>Permission Error</option>
</select>Permission Error

```json
{
  "success": false,
  "error": "User does not have the permissions required for this action [error-unauthorized]"
}
```

object  successboolean    
errorstring
