v1
latestOpenAPI 3.1.02026-08-04164270844.7 KBClassrooms
Register a user to a classroom slot
🔑
Required OAuth scope: classrooms:write.
Registers a user to a classroom slot based on the provided classroom slot ID and user ID.
post/api/v2/classroom-slots/{classroomSlotId}/registrations/{userId}
Path parameters
classroomSlotIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the classroom slot.
userIdstring ObjectId required
Example:507f1f77bcf86cd799439011
The unique ID of the user.
Headers
360-api-version'v2.0' required
The version of the API.
Response
Returns the created slot registration.
Example response
{
"_id": "507f1f77bcf86cd799439011",
"userId": "507f1f77bcf86cd799439011",
"attendanceDuration": 60,
"pathId": "507f1f77bcf86cd799439011"
}