For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Quiz Results

This API allows you to get results for a given quiz

GET {{BASE_URL}}/api/lessons/{lesson_id}/quiz/results

Path Parameters

Name
Type
Description

lesson_id

integer

ID of the lesson

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": "Course liked successfully",
    "data": {
        "message": "Course liked successfully"
    }
}
{
    "status": 200,
    "response_code": 0,
    "success": true,
    "errors": [],
    "message": "Quiz results retrieved",
    "data": {
        "score": "You got 0/5 correct",
        "results": [
            {
                "question": " What is one key advantage of Pezesha's fast and simple process?",
                "your_answer": "It requires extensive documentation.",
                "is_correct": false,
                "correct_answer": "It provides quick approval decisions and rapid money transfer to M-PESA."
            },
            {
                "question": "Which of the following is true about Pezesha's collateral requirements?",
                "your_answer": "No answer",
                "is_correct": null,
                "correct_answer": "Collateral is not required since loans are based on business performance."
            },
            {
                "question": "How does Pezesha ensure fairness in its loan process?",
                "your_answer": "No answer",
                "is_correct": null,
                "correct_answer": "Through straightforward interest calculation and flexible payment schedules."
            },
            {
                "question": "What additional business support does Pezesha offer?",
                "your_answer": "No answer",
                "is_correct": null,
                "correct_answer": "Free financial education and convenient customer support"
            },
            {
                "question": "Which visual is used to compare Pezesha's document requirements with those of traditional banks?",
                "your_answer": "No answer",
                "is_correct": null,
                "correct_answer": "A comparison chart"
            }
        ]
    }
}

Last updated

Was this helpful?