GET
/
room
/
{id}
/
user
/
{userId}
curl --request GET \
  --url https://livepeer.studio/api/room/{id}/user/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "d32ae9e6-c459-4931-9898-e86e2f5e7e16",
  "isPublisher": true,
  "joinedAt": 1687517025261,
  "metadata": "<string>",
  "name": "name"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required
userId
string
required

Response

200 - application/json
id
string

The ID of the user

isPublisher
boolean
default: true

Whether a user is allowed to publish audio/video tracks

joinedAt
integer

Timestamp (in milliseconds) at which the user joined

metadata
string

User defined payload to store for the participant

name
string

The display name of the user