Get Quiz Questions
Fetches questions for a given quiz
GET
{{BASE_URL}}/api/lessons/{lesson_id}/quiz/questions
Path Parameters
Name
Type
Description
lesson_id
integer
ID of the lesson to get
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": "Questions retrieved",
"data": {
"total_questions": 5,
"questions": [
{
"question_number": 1,
"question_id": 46,
"text": " What is one key advantage of Pezesha's fast and simple process?",
"options": [
{
"id": 170,
"text": "It requires extensive documentation."
},
{
"id": 171,
"text": "It provides quick approval decisions and rapid money transfer to M-PESA."
}
]
},
{
"question_number": 2,
"question_id": 47,
"text": "Which of the following is true about Pezesha's collateral requirements?",
"options": [
{
"id": 174,
"text": "You must provide multiple forms of collateral."
},
{
"id": 175,
"text": "Collateral is optional but preferred."
}
]
}
]
}
}
Last updated
Was this helpful?