Create a Room
POST/rooms
Create a room.
Permissions
The API token must include the following scopes: Video.
Request
- application/json
Body
required
A named unique identifier for the room. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
Display name of the room. Maximum of 200 characters. Defaults to the value of name.
Description of the room. Maximum of 3000 characters.
The maximum number of members in the room at a time. Must be at least one to a maximum of 300. Defaults to 20.
The room's resolution. Allowed values are 720p
or 1080p
. Defaults to 720p
.
Room does not accept new participants before this time. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Room stops accepting new participants at this time, but keeps running until all participants leave. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Remove users from the room at this time. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Remove users after they are in the room for N seconds. Overridable by token.
The room's initial layout. Defaults to grid-responsive
. See documentation for a full list of supported layouts.
Specifies whether to start recording a Room Session when one is started for this Room
Whether a video with a preview of the content of the room is to be generated.
Enable/disable jitter buffer audio-video sync.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
A unique identifier for the room
A named unique identifier for the room. Allowed characters: A-Za-z0-9_-
. Maximum of 100 characters.
Display name of the room. Maximum of 200 characters. Defaults to the value of name.
Description of the room. Maximum of 3000 characters.
The maximum number of members in the room at a time. Must be at least one to a maximum of 300. Defaults to 20.
The room's resolution. Allowed values are 720p
or 1080p
. Defaults to 720p
.
Room does not accept new participants before this time. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Room stops accepting new participants at this time, but keeps running until all participants leave. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Remove users from the room at this time. Overridable by token. Expects RFC 3339 datetime: 2022-01-01T23:59:60Z
. Date only: 2022-01-01
will be converted to 2022-01-01T00:00:00Z
Remove users after they are in the room for N seconds. Overridable by token.
The room's initial layout. Defaults to grid-responsive
. See documentation for a full list of supported layouts.
Specifies whether to start recording a Room Session when one is started for this Room
Whether a video with a preview of the content of the room is to be generated.
Enable/disable jitter buffer audio-video sync.
Frames Per Second parameter of room video quality
active_session
object
Unique ID of the session
Unique ID of the Room if the Session was created from a Room and was not an auto-created Session.
The named identifier of room session.
Display name of room, no character limitations. Maxium of 200 characters. Defaults to the value of name.
Room Session does not accept new Members before this time.
Room Session stops accepting new Members at this time.
Remove Members from the Room Session at this time.
Remove Members after they are in the Room Session for N seconds.
The Room Session's initial layout. Defaults to grid-responsive
. See documentation for a full list of supported layouts.
The maximum number of members allowed in the room at a time.
The Room Session's frames per second. Possible values are 20
or 30
.
The Room Session's resolution. Possible values are 720p
or 1080p
.
How long, in seconds, the Room Session lasted.
Whether a recording was automatically started when this Room Session began.
Whether a video with a preview of the content of the room is to be generated.
If room previews are enabled and the room session is in progress, this is the URL of the preview video.
Enable/disable jitter buffer audio-video sync.
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "my_room",
"display_name": "My Room's Name",
"description": "This room will be used for full company all hands meetings",
"max_members": 20,
"quality": "720p",
"join_from": "2024-07-29T15:51:28.071Z",
"join_until": "2024-07-29T15:51:28.071Z",
"remove_at": "2024-07-29T15:51:28.071Z",
"remove_after_seconds_elapsed": 120,
"layout": "grid-responsive",
"record_on_start": true,
"enable_room_previews": true,
"audio_video_sync": true,
"fps": 20,
"active_session": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"room_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "my_example_room",
"display_name": "My Room's Name",
"join_from": "2024-07-29T15:51:28.071Z",
"join_until": "2024-07-29T15:51:28.071Z",
"remove_at": "2024-07-29T15:51:28.071Z",
"remove_after_seconds_elapsed": 120,
"layout": "grid-responsive",
"max_members": 20,
"fps": 20,
"quality": "720p",
"start_time": "2024-07-29T15:51:28.071Z",
"end_time": "2024-07-29T15:51:28.071Z",
"duration": 120,
"status": "completed",
"record_on_start": true,
"enable_room_previews": true,
"preview_url": "https://...",
"audio_video_sync": true
},
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z"
}