Classroom supervisors are responsible for managing and overseeing classroom
activities. You can assign a supervisor to each classroom through our API, and
update or remove them as needed.
Assign Classroom Supervisors
{Tenant endpoint}/classroom-supervisors
type :
headers
Name
required
type
description
referer
YES
string
The root of the application that is sending the request
(your
website at jusoorlabs.com)
accept
YES
string
the basic accept header (always send it as application/json)
token
YES
string
The token provided to you once you've registerd with
Jusoor Labs API.
Parameters
Name
Required
Type
Description
supervisors
YES
array
An array of supervisor objects, each representing an
individual assigned to manage classrooms. Each supervisor
can be linked to one or more classrooms.
name
YES
string
The full name of the supervisor. This is the supervisor's
official name and must be provided as a string of
characters.
username
YES
string
The unique username of the supervisor, typically used for
login or identification purposes. This should be a string
that represents the supervisor's login credential.
classroom_ids
YES
array
An array of integers representing the classroom IDs to which the supervisor is assigned. Each integer corresponds to a unique classroom. When provided, this array will synchronize the supervisor’s classrooms by replacing any previously assigned classrooms with the new set.
Get Classroom Supervisors
{Tenant endpoint}/classroom-supervisors
type :
headers
Name
required
type
description
referer
YES
string
The root of the application that is sending the request
(your
website at jusoorlabs.com)
accept
YES
string
the basic accept header (always send it as application/json)
token
YES
string
The token provided to you once you've registerd with
Jusoor Labs API.
parameters
Name
required
type
description
No parameters required for this request.
Get Specific Supervisor
{Tenant endpoint}/classroom-supervisors/{user_id}
type :
headers
Name
required
type
description
referer
YES
string
The root of the application that is sending the request
(your
website at jusoorlabs.com)
accept
YES
string
the basic accept header (always send it as application/json)
token
YES
string
The token provided to you once you've registerd with
Jusoor Labs API.
parameters
Name
required
type
description
user_id
YES
Integer
Get Specific Supervisor (send in the
URL, not in the body of the request).
Remove Supervisor from Classrooms
{Tenant endpoint}/classroom-supervisors/{user_id}
type:
headers
Name
required
type
description
referer
YES
string
The root of the application that is sending the request
(your website at jusoorlabs.com)
accept
YES
string
The basic accept header (always send it as application/json)
token
YES
string
The token provided to you once you've registered with Jusoor
Labs API.
parameters
Name
required
type
description
user_id
YES
Integer
the id of the user to remove as a supervisor from a
classrooms (send in the URL, not in
the body of the request).