---
title: "Information needed to connect to the TB servers."
method: GET
path: "/room/{roomName}/info"
tags: ["Rooms"]
---

# Information needed to connect to the TB servers.

`GET /room/{roomName}/info`

Returns the information (sessionId, token, apiKey) that's required to connect to an opentok session. The sessionId returned is specific for the room, and the token MAY include information about the user that's connecting (identified as anonymous if the user didn't specify a name). Note that every time this URL is fetched a new token is created.

## Path parameters

- `roomName` string, required

## Query parameters

- `userName` string

## Response `200`

Information to connect to the room

## Other responses

- `400` — Unexpected error

## Changes

- **2015-11-09** `ac06be808ef7` — 1 info
  - added the non-success response with the status `400`
- **2015-09-27** `fdd6b89fcde2` — 1 info
  - removed the non-success response with the status `400`

[Change history](https://skmtc.dev/opentok/apis/opentokrtc-api/changes/room/:roomName/info/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)
