Skip to main content
POST
Grade Module Quiz

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

course_id
string
required

Body

application/json

Request body for POST /api/v1/courses/{id}/quiz/grade

module_num
integer
required

Module number

Required range: x >= 1
answers
Answers · object[]
required

List of answer objects: [{question_id, answer}]

Maximum array length: 200
served_ids
string[]

REQUIRED. Question IDs served to the learner for this attempt (echo the served_ids from the serve response). This is the grading denominator: every served question left unanswered scores 0. A grade without served_ids is rejected (400).

Maximum array length: 200
tier
string
default:associate

Quiz tier: associate, professional, or expert

Response

Successful Response