Submit assessment course lesson
Changed onSubmit answers for a quiz or knowledge check lesson and receive a graded result.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The unique identifier of the quiz or knowledge check lesson to submit answers for (for example, "lesn_XXXXX").
Request body
Parameters for SubmitAssessment
The list of answers to submit for each assessment question.
Response
A successful response
The result of a user's assessment attempt
The datetime the assessment result was created.
The unique identifier for the assessment result.
The lesson this assessment result is for
The number of correct answers
The grade achieved on the assessment
Array of graded questions with details
Whether the user achieved a passing grade
The total number of questions in the assessment
The percentage score achieved on the assessment
The datetime the assessment result was last updated.
The user who took the assessment
Example response
{
"created_at": "2023-12-01T05:00:00.401Z",
"id": "crsar_xxxxxxxxxxxx",
"lesson": {
"id": "lesn_xxxxxxxxxxxxx",
"title": "Preparing Paint for Ceramic Coating"
},
"result_correct": 42,
"result_grade": 6.9,
"result_question_count": 42,
"score_percent": 6.9,
"updated_at": "2023-12-01T05:00:00.401Z",
"user": {
"id": "user_xxxxxxxxxxxxx",
"name": "Marcus Webb",
"username": "marcuswebb"
}
}Changes
- info
added the non-success response with the status
- info