> For the complete documentation index, see [llms.txt](https://docs.patascore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patascore.com/financial-education-1/quiz/fetch-customer-session-summary.md).

# Submit Quiz Answers

<mark style="color:blue;">`GET`</mark> `{{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. |

{% tabs %}
{% tab title="200 OK" %}

```json
{
    "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."
    }
}
```

{% endtab %}

{% tab title="404 Not Found" %}

```json
{
    "status": 404,
    "message": "Lesson not found"
}
```

{% endtab %}
{% endtabs %}

#### Start Lesson Request

{% tabs %}
{% tab title="Request Body" %}

```json
{
    "phone_number": "0700112233"
}
```

{% endtab %}
{% endtabs %}
