> 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/lessons/fetch-websocket-conversaction.md).

# Fetch Lesson Details

Fetches details of a given lesson

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/lessons/{lesson_id}`

#### 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. |

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

```json
{
  "status": 200,
  "response_code": 0,
  "success": true,
  "errors": [],
  "message": "Lesson retrieved successfully",
  "data": {
    "id": 123,
    "course_id": 45,
    "title": "Introduction to Financial Planning",
    "slide_type": "video",
    "description": "Learn the basics of financial planning and budgeting",
    "content": "https://youtube.com/watch?v=example",
    "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...",
    "learning_outcomes": [
      "Understand basic financial concepts",
      "Create a personal budget",
      "Set financial goals"
    ],
    "completed": false,
    "status": "not_started"
  }
}
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}
