***
id: 1f147735-b861-47c6-be55-06020d0a848d
title: join\_room
slug: /reference/join-room
description: Join a RELAY Room Session.
max-toc-depth: 3
----------------
Join a RELAY room. If the room doesn't exist, it creates a new room.
An object that accepts the following properties.
## **Properties**
Name of the room to join. Allowed characters: `A-Z | a-z | 0-9_-`
You can create a room via out REST API [here](/docs/apis/video/rooms/create-room)
## **Variables**
Set by the method:
* **join\_room\_result:** (out) `joined` | `failed`
## **Examples**
### Joining a room
```yaml
version: 1.0.0
sections:
main:
- join_room:
name: my_room
```
```json
{
"version": "1.0.0",
"sections": {
"main": [
{
"join_room": {
"name": "my_room"
}
}
]
}
}
```