βGet or Create Default Room
Gets the user's default room. If it doesn't exist, creates a new default room.
Parameter
Type
Required
Default
Description
curl -L -X POST 'https://<DOMAIN>/xapi/v2/room' \
-H 'Content-Type: application/json' \
--data-raw '{
"name": "Test Room",
"fallback_name": "Test Room Fallback",
"lang": "en-US",
"creator_email": "[email protected]",
"options": {
"allow_rating": true,
"preparation_time": 15,
"session_duration": 60,
"Chat": {
"OffMessageModule": false,
"OffGeneralMsging": false,
"OffGeneralMsgLimitForUser": false,
"OffSpecialMsging": false,
"OffSpecialMsgToAdmin": false,
"OffSpecialMsgToUser": false,
"OffNewMsgSound": false,
"OffClearForReplay": false,
"OnNewMsgSoundInAll": false,
"OnNewMsgNotifyInAll": false
},
"Duration": {
"AllowExtendTime": true,
"UseRemainingTime": false
},
"allow_users_stream_self_cam_mic": true,
"hide_user_streams": false,
"enable_attendance_check": true,
"enable_simultaneous_interpretation": false,
"enable_simultaneous_interpretation_for_users": false,
"start_active": false,
"return_url": "",
"allow_reactions": true
}
}'Last updated