List rooms response.
Array of objects (Room) | |
object (PaginationMeta) |
{- "data": [
- {
- "active_session_id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "created_at": "2021-04-16T09:46:20.954863Z",
- "enable_recording": true,
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "max_participants": 50,
- "record_type": "room",
- "sessions": [
- {
- "active": true,
- "created_at": "2021-04-16T09:46:20.954863Z",
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "participants": [ ],
- "record_type": "room_session",
- "room_id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "updated_at": "2021-04-16T10:24:55.962200Z"
}
], - "unique_name": "My Room",
- "updated_at": "2021-04-16T10:24:55.962200Z",
- "webhook_timeout_secs": 25
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}
Synchronously create a Room.
Parameters that can be defined during room creation.
Create room response.
{- "enable_recording": true,
- "max_participants": 10,
- "unique_name": "My room",
- "webhook_timeout_secs": 25
}
{- "data": {
- "active_session_id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "created_at": "2021-04-16T09:46:20.954863Z",
- "enable_recording": true,
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "max_participants": 50,
- "record_type": "room",
- "sessions": [
- {
- "active": true,
- "created_at": "2021-04-16T09:46:20.954863Z",
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "participants": [ ],
- "record_type": "room_session",
- "room_id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "updated_at": "2021-04-16T10:24:55.962200Z"
}
], - "unique_name": "My Room",
- "updated_at": "2021-04-16T10:24:55.962200Z",
- "webhook_timeout_secs": 25
}
}
Synchronously delete a Room. Participants from that room will be kicked out, they won't be able to join that room anymore, and you won't be charged anymore for that room.
{- "code": "string",
- "detail": "string",
- "meta": { },
- "source": {
- "parameter": "string",
- "pointer": "/json/pointer"
}, - "title": "string"
}
Get room response.
object (Room) | |||||||||||||||||||||||||
|
{- "data": {
- "active_session_id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "created_at": "2021-04-16T09:46:20.954863Z",
- "enable_recording": true,
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "max_participants": 50,
- "record_type": "room",
- "sessions": [
- {
- "active": true,
- "created_at": "2021-04-16T09:46:20.954863Z",
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "participants": [ ],
- "record_type": "room_session",
- "room_id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "updated_at": "2021-04-16T10:24:55.962200Z"
}
], - "unique_name": "My Room",
- "updated_at": "2021-04-16T10:24:55.962200Z",
- "webhook_timeout_secs": 25
}
}
Synchronously update a Room.
Parameters that can be defined during room update.
enable_recording | boolean Default: false Enable or disable recording for that room. |
max_participants | integer [ 2 .. 50 ] Default: 10 The maximum amount of participants allowed in a room. If new participants try to join after that limit is reached, their request will be rejected. |
unique_name | string The unique (within the Telnyx account scope) name of the room. |
webhook_event_failover_url | string <url> Default: "" The failover URL where webhooks related to this room will be sent if sending to the primary URL fails. Must include a scheme, such as 'https'. |
webhook_event_url | string <url> The URL where webhooks related to this room will be sent. Must include a scheme, such as 'https'. |
webhook_timeout_secs | integer [ 0 .. 30 ] Default: null Specifies how many seconds to wait before timing out a webhook. |
Update room response.
object (Room) | |||||||||||||||||||||||||
|
Unauthorized response. Happens when the current user is not a manager account.
Resource not found
Bad request
{- "enable_recording": true,
- "max_participants": 10,
- "unique_name": "My room",
- "webhook_timeout_secs": 25
}
{- "data": {
- "active_session_id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "created_at": "2021-04-16T09:46:20.954863Z",
- "enable_recording": true,
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "max_participants": 50,
- "record_type": "room",
- "sessions": [
- {
- "active": true,
- "created_at": "2021-04-16T09:46:20.954863Z",
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e74",
- "participants": [ ],
- "record_type": "room_session",
- "room_id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "updated_at": "2021-04-16T10:24:55.962200Z"
}
], - "unique_name": "My Room",
- "updated_at": "2021-04-16T10:24:55.962200Z",
- "webhook_timeout_secs": 25
}
}
filter[date_created_at][eq] | string <date> ISO 8601 date for filtering room sessions created on that date. Example: filter[date_created_at][eq]=2021-04-25 |
filter[date_created_at][gte] | string <date> ISO 8601 date for filtering room sessions created after that date. Example: filter[date_created_at][gte]=2021-04-25 |
filter[date_created_at][lte] | string <date> ISO 8601 date for filtering room sessions created before that date. Example: filter[date_created_at][lte]=2021-04-25 |
filter[date_updated_at][eq] | string <date> ISO 8601 date for filtering room sessions updated on that date. Example: filter[date_updated_at][eq]=2021-04-25 |
filter[date_updated_at][gte] | string <date> ISO 8601 date for filtering room sessions updated after that date. Example: filter[date_updated_at][gte]=2021-04-25 |
filter[date_updated_at][lte] | string <date> ISO 8601 date for filtering room sessions updated before that date. Example: filter[date_updated_at][lte]=2021-04-25 |
filter[date_ended_at][eq] | string <date> ISO 8601 date for filtering room sessions ended on that date. Example: filter[date_ended_at][eq]=2021-04-25 |
filter[date_ended_at][gte] | string <date> ISO 8601 date for filtering room sessions ended after that date. Example: filter[date_ended_at][gte]=2021-04-25 |
filter[date_ended_at][lte] | string <date> ISO 8601 date for filtering room sessions ended before that date. Example: filter[date_ended_at][lte]=2021-04-25 |
filter[active] | boolean Filter active or inactive room sessions. Example: filter[active]=true |
include_participants | boolean To decide if room participants should be included in the response. Example: include_participants=true |
page[size] | integer [ 1 .. 250 ] Default: 20 The size of the page |
page[number] | integer >= 1 Default: 1 The page number to load |
List room sessions response.
Array of objects (RoomSession) | |
object (PaginationMeta) |
{- "data": [
- {
- "active": false,
- "created_at": "2021-04-16T09:46:20.954863Z",
- "ended_at": "2021-04-16T10:24:55.962200Z",
- "id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
- "participants": [ ],
- "record_type": "room_session",
- "room_id": "7b61621f-5fe4-4aad-ab11-9fd19e272e73",
- "updated_at": "2021-04-16T10:24:55.962200Z"
}
], - "meta": {
- "page_number": 2,
- "page_size": 25,
- "total_pages": 3,
- "total_results": 55
}
}