Get
/api/v1/rooms.autocomplete.availableForTeams
Autocompletes room name available for conversion to team.
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
name
stringRequired
The name of the room
Exampledata-loss-prevention
Responses
200
OK
Match error
{
"items": [
{
"_id": "siyr2oWQJBjQjhLwr",
"fname": "try",
"name": "try",
"t": "c"
}
],
"success": true
}
object
items
Array of object
object
_id
string
fname
string
name
string
t
string
success
boolean
401
Unauthorized
Authorization Error
{
"status": "error",
"message": "You must be logged in to do this."
}
object
status
string
message
string