Skip to main content

View a list of room participants.

GET 
/room_sessions/:room_session_id/participants

Request

Path Parameters

    room_session_id uuidrequired

    The unique identifier of a room session.

Query Parameters

    filter[date_joined_at][eq] date

    ISO 8601 date for filtering room participants that joined on that date.

    filter[date_joined_at][gte] date

    ISO 8601 date for filtering room participants that joined after that date.

    filter[date_joined_at][lte] date

    ISO 8601 date for filtering room participants that joined before that date.

    filter[date_updated_at][eq] date

    ISO 8601 date for filtering room participants updated on that date.

    filter[date_updated_at][gte] date

    ISO 8601 date for filtering room participants updated after that date.

    filter[date_updated_at][lte] date

    ISO 8601 date for filtering room participants updated before that date.

    filter[date_left_at][eq] date

    ISO 8601 date for filtering room participants that left on that date.

    filter[date_left_at][gte] date

    ISO 8601 date for filtering room participants that left after that date.

    filter[date_left_at][lte] date

    ISO 8601 date for filtering room participants that left before that date.

    filter[context] string

    Filter room participants based on the context.

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 20

    The size of the page.

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load.

Responses

200: List room participants response.

Request samples


curl -L 'https://api.telnyx.com/v2/room_sessions/:room_session_id/participants' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "7b61621f-62e0-4aad-ab11-9fd19e272e73",
"session_id": "7b61621f-5fe4-4aad-ab11-9fd19e272e73",
"context": "Alice",
"joined_at": "2021-04-16T09:46:20.954863Z",
"updated_at": "2021-04-16T10:24:55.962200Z",
"left_at": "2021-04-16T10:24:55.962200Z",
"record_type": "room_participant"
}
],
"meta": {
"page_number": 2,
"page_size": 25,
"total_pages": 3,
"total_results": 55
}
}