Create an exam
Create the exam record that holds the question paper, the model answers, and every student answer sheet.
id you get back: every later call needs it.Rules
examName,grade,subject,examType,examSet, andexamDateare all required.classSectionis optional.gradeis an integer code. Get it from Get exam evaluation constants.subjectandexamTypeare names you choose, such asScienceandPre Boards. There is no list to pick from, so a new subject needs nothing set up first.examDateis a date, written asYYYY-MM-DD.- The exam starts with no files and a
statusof0Open. Upload the question paper next.
What each field takes
Letters and numbers can be in any language, soहिंदी and मराठी are fine.
- Anything else returns
400.error.messageholds the reason under the field’s name:{"subject": ["Only letters, numbers and spaces are allowed."]}. - Spaces at either end are dropped. In
subjectandexamType, a run of spaces is saved as one, soSocial Studiescomes back asSocial Studies.
POST or PATCH loses its body.Next step
Upload an exam question paper
Authorizations
Access token from Get an access token. A missing, invalid, or expired token returns 403.
Body
Your name for the exam. Up to 100 characters: letters, numbers, spaces and - _ ( ) . , : & /.
100"Pre Board 1 - Science"
Grade code from Get exam evaluation constants. 1 to 12 are classes First to Twelfth, 13 is CA Foundation.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 10
The subject, as a name you choose, such as Science or हिंदी. Up to 100 characters: letters in any language, numbers and spaces, with at least one letter.
100"Science"
The kind of exam, as a name you choose, such as Pre Boards or Class Test. Same rules as subject.
100"Pre Boards"
Your label for the paper set, such as A. Up to 10 characters: letters, numbers and hyphens. Required, and usable as a filter in List exams.
10"A"
Date of the exam, as YYYY-MM-DD.
"2026-03-14"
Optional class section, such as A. Up to 10 characters: letters and numbers.
10"A"