Facilities
List Facilities
Retrieve all facilities the current user has access to.GET /api/auth/facility
Response Fields
Facility unique identifier
Facility name
Total number of users in the facility
Total number of classrooms in the facility
Dataset configuration object
ISO 8601 timestamp of last successful sync
ISO 8601 timestamp of last failed sync
Get Facility
Retrieve details of a specific facility.GET /api/auth/facility/:id
Create Facility
Create a new facility (superuser only).POST /api/auth/facility/create_facility
Facility Dataset Settings
Get Facility Dataset
Retrieve the dataset settings for a facility.GET /api/auth/facilitydataset
Query Parameters
Facility UUID to get settings for
Response Fields
Dataset unique identifier
Whether learners can edit their own username
Whether learners can edit their full name
Whether learners can change their password
Whether learners can self-register
Whether learners can delete their own account
Whether password-less login is enabled
Whether to show download button in Learn
Facility description
Facility location
Whether facility is registered with Kolibri Data Portal
Preset type:
formal, nonformal, informalUpdate Facility Dataset
Update facility dataset settings.PATCH /api/auth/facilitydataset/:id
Reset Facility Settings
Reset facility settings to defaults.POST /api/auth/facilitydataset/:id/resetsettings
Classrooms
List Classrooms
Retrieve all classrooms in a facility.GET /api/auth/classroom
Query Parameters
Filter by parent facility UUID
Filter by user role (e.g., “coach”)
Response Fields
Classroom unique identifier
Classroom name
UUID of parent facility
Number of learners in the classroom
Array of coach user objects assigned to this classroom
Get Classroom
Retrieve details of a specific classroom.GET /api/auth/classroom/:id
Create Classroom
Create a new classroom.POST /api/auth/classroom
Request Parameters
Classroom name
UUID of the parent facility
Update Classroom
Update an existing classroom.PATCH /api/auth/classroom/:id
Delete Classroom
Delete a classroom.DELETE /api/auth/classroom/:id
Learner Groups
List Learner Groups
Retrieve all learner groups in a classroom.GET /api/auth/learnergroup
Query Parameters
Filter by parent classroom UUID
Response Fields
Learner group unique identifier
Group name
UUID of parent classroom
Array of learner UUIDs in this group
Get Learner Group
Retrieve details of a specific learner group.GET /api/auth/learnergroup/:id
Create Learner Group
Create a new learner group within a classroom.POST /api/auth/learnergroup
Request Parameters
Group name
UUID of the parent classroom
Update Learner Group
Update an existing learner group.PATCH /api/auth/learnergroup/:id
Delete Learner Group
Delete a learner group.DELETE /api/auth/learnergroup/:id
Memberships
Memberships connect users to collections (classrooms and groups).Create Membership
Add a user to a classroom or group.POST /api/auth/membership
Delete Membership
Remove a user from a classroom or group.DELETE /api/auth/membership/:id
Roles
Roles assign permissions to users within collections.Create Role
Assign a role to a user.POST /api/auth/role
Role Kinds
admin- Facility administratorcoach- Classroom coachassignable_coach- Can be assigned as coach
Delete Role
Remove a role from a user.DELETE /api/auth/role/:id