Create multiple students in bulk
POST /students/batchCreate
POST
/students/batchCreate
Create or update multiple students at once (teacher role required)
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
students
required
Array of students to create or update
Array<object>
object
email
required
Email address of the student
string format: email
student_name
required
Name of the student
string
class_code
Optional class code for the student
string
Responses
Section titled “ Responses ”Bulk operation completed successfully
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
data
object
message
string
Bad request - invalid input
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Unauthorized - authentication required
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Forbidden - insufficient permissions
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string
Internal server error
object
success
required
Indicates if the request was successful
boolean
message
required
Response message
string
success
boolean
message
string