View a room session.
GET/room_sessions/:room_session_id
View a room session.
Request
Path Parameters
room_session_id uuidrequired
The unique identifier of a room session.
Query Parameters
include_participants boolean
To decide if room participants should be included in the response.
Responses
200: Get room session response.
- application/json
404: Resource not found
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/room_sessions/:room_session_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"data": {
"id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
"room_id": "7b61621f-5fe4-4aad-ab11-9fd19e272e73",
"active": false,
"created_at": "2021-04-16T09:46:20.954863Z",
"updated_at": "2021-04-16T10:24:55.962200Z",
"ended_at": "2021-04-16T10:24:55.962200Z",
"participants": [],
"record_type": "room_session"
}
}
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}