Skip to main content

Join Room

Join an existing classroom session. This endpoint generates a token for a participant to join a room that has already been created.

Endpoint: POST https://api.verriflo.com/v1/room/:roomId/join

Headers​

HeaderTypeRequiredDescription
VF-ORG-IDstringYesYour Organization ID
Content-TypestringYesapplication/json

Request Body​

{
"participant": {
"uid": "student-456",
"name": "Jane Doe",
"role": "STUDENT"
},
"customization": {
"showLobby": false,
"theme": "light"
}
}

Parameters​

FieldTypeRequiredDescription
participantobjectYesParticipant details.
participant.uidstringYesUnique ID for the participant.
participant.namestringYesDisplay name.
participant.rolestringYesRole: TEACHER, STUDENT, MODERATOR, or ADMIN.
customizationobjectNoOverride UI customization options (see Customization Object).

Response​

{
"success": true,
"data": {
"token": "eyJhbGciOiJIUz...",
"iframeUrl": "https://live.verriflo.com/iframe/live?token=eyJ...",
"expiresAt": "2023-12-31T23:59:59.000Z"
}
}

Error Codes​

StatusMessageDescription
404Room not foundThe room ID provided does not exist or has ended.
401UnauthorizedInvalid organization ID.
400Validation errorMissing required fields.