Check If Room Name Exists

This method is planned to be removed by 7.0.0. Use the /rooms.roomNameExists endpoint instead.

Check if a room name exists in a workspace.

Name

Requires Auth

roomNameExists

Yes

Payload Parameters

Argument

Example

Required

Description

roomName

try

Required

The room name to be searched for.

Example Call

{
    "msg": "method",
    "method": "roomNameExists",
    "id": "2",
    "params": [
                 "try"
    ]
}

Example Response

Success

{
    "msg": "result",
    "id": "2",
    "result": false
}

The result field returns a boolean to specify if the room exists in the workspace.

Last updated

Rocket.Chat versions receive support for six months after release.