v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBClassrooms
Add a slot to a classroom
🔑
Required OAuth scope: classrooms:write.
Adds a slot to a given classroom.
post/api/v2/classrooms/{classroomId}/slots
Path parameters
classroomIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the classroom.
Headers
360-api-version'v2.0' required
The version of the API.
Request body
Example request
{
"reportedDuration": 1,
"maxCapacity": 10,
"name": "My awesome classroom slot",
"context": {
"_id": "507f1f77bcf86cd799439011"
},
"location": "https://meet.google.com/kdf-zkfz-hje",
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris"
}Response
Returns the created classroom slot.
Example response
{
"reportedDuration": 1,
"maxCapacity": 10,
"_id": "507f1f77bcf86cd799439011",
"classroomId": "507f1f77bcf86cd799439011",
"name": "My awesome classroom slot",
"location": "https://meet.google.com/kdf-zkfz-hje",
"trainerIds": [
"507f1f77bcf86cd799439011"
],
"mediaIds": [
"507f1f77bcf86cd799439011"
],
"timezone": "Europe/Paris",
"webinarProvider": "Microsoft Teams",
"context": {
"_id": "507f1f77bcf86cd799439011"
}
}