Skip to main content
GET
/
room_participants
/
{room_participant_id}
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const roomParticipant = await client.roomParticipants.retrieve('0ccc7b54-4df3-4bca-a65a-3da1ecc777f0');

console.log(roomParticipant.data);
{
  "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"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

room_participant_id
string<uuid>
required

The unique identifier of a room participant.

Example:

"0ccc7b54-4df3-4bca-a65a-3da1ecc777f0"

Response

Get room participant response.

data
object
Example:
{
"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"
}