Submit Quiz Answers
This API allows you to submit answers for a quiz
GET
{{BASE_URL}}/api/lessons/{lesson_id}/quiz/submit
Path Parameters
Name
Type
Description
lesson_id
integer
Lesson id
Request Body
Name
Type
Description
question_id
integer
ID of the question
answer_id
integer
ID of the answer
Headers
Name
Type
Description
Authentication
string
Authentication token to track down who is emptying our stocks.
{
"status": 200,
"response_code": 0,
"success": true,
"errors": [],
"message": "Answer submitted",
"data": {
"is_correct": false,
"feedback": "Wrong. Correct answer: It provides quick approval decisions and rapid money transfer to M-PESA."
}
}
Start Lesson Request
{
"phone_number": "0700112233"
}
Last updated
Was this helpful?