public

Validate Class Code

Validate a class code without requiring authentication. Returns details about the class if valid. Supports both regular class codes and single-use codes.

post/public/validate-class-code

Request body

class_codestring required

The class code to validate

Response

Successful Response

is_validboolean required

Whether the class code is valid

teacher_namestring nullable

The name of the teacher who created the class

class_namestring nullable

The name of the class

error_messagestring nullable

Error message if the class code is invalid

has_pending_studentsboolean

Whether the class has pending students

Changes

No recorded changes to this endpoint across all 1 revision of this API.