Check if Room Name Exists

Get
/api/v1/rooms.nameExists

Check if the room name exists

Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Query parameters
roomName
stringRequired

Enter the room name that you want to check.

Exampletest-room
Responses
200

OK

Success
{
  "exists": true,
  "success": true
}
object
exists
boolean
success
boolean
400

Bad Request

roomName is required
{
  "success": false,
  "error": "must have required property 'roomName' [invalid-params]",
  "errorType": "invalid-params"
}
object
success
boolean
error
string
errorType
string
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string