Links

Check If Room Name Exists

Check if a room name exists in a workspace.
Name
Requires Auth
Permission
Setting
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 modified 5mo ago
Rocket.Chat versions receive support for six months after release.