---
title: "Connects to a new or existing room."
method: GET
path: "/room/{roomName}"
tags: ["Rooms"]
---

# Connects to a new or existing room.

`GET /room/{roomName}`

Returns an HTML document that shows the defined UI for a chat 'room' where the user may or may not have specified an identity. The document returned will NOT have any of the information needed to connect to the Tokbox servers already factored in. TO-DO: ¿Queremos que esto sea así o que devolvamos ya todo configurado?

## Path parameters

- `roomName` string, required

## Query parameters

- `userName` string
- `template` string

## Response `200`

The HTML for the room

## Other responses

- `400` — Unknown template

## Changes

- **2016-05-09** `c0c500303a79` — 4 info
  - api tag `Rooms` added
  - added the new optional `query` request parameter `template`
  - added the non-success response with the status `400`
  - added the success response with the status `200`
- **2016-05-09** `ade0fe36497f` — 1 breaking, 1 info
  - removed the success response with the status `200`
  - api tag `Rooms` removed
- **2015-09-27** `fdd6b89fcde2` — 1 warning, 1 info
  - deleted the `query` request parameter `template`
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/opentok/apis/opentokrtc-api/changes/room/:roomName/get.md)

---

[API](https://skmtc.dev/opentok/apis/opentokrtc-api.md) · [All operations](https://skmtc.dev/opentok/apis/opentokrtc-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/opentok/opentokrtc-api/revisions/7c588b24fbe6/schema)
