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

# Fetch Course Details

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

#### Path Parameters

| Name       | Type    | Description             |
| ---------- | ------- | ----------------------- |
| course\_id | integer | ID of the course 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": "Course retrieved successfully",
    "data": {
        "welcome": "Welcome to Receiving your loan funds",
        "title": "Receiving your loan funds",
        "is_free": false,
        "price": 100.0,
        "short_description": "<div data-oe-version=\"1.2\">Learn when and how you'll get your money \n</div>",
        "users_enrolled": 45,
        "likes_count": 1,
        "rating": 0.0,
        "ratings_count": 0,
        "description": "<div data-oe-version=\"1.2\">Learn when and how you'll get your money \n</div>",
        "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgA……",
        "lessons_preview": [
            {
                "id": 53,
                "title": "Receive funds",
                "thumbnail": null,
                "lesson_progress_status": "not_started",
                "quiz_progress_status": "not_started"
            },
            {
                "id": 54,
                "title": "Fund receipt concerns",
                "thumbnail": null,
                "lesson_progress_status": "not_started",
                "quiz_progress_status": "not_started"
            }
        ],
        "is_liked": false,
        "has_access": false,
        "payment_status": "unpaid",
        "can_access": false,
        "payment_message": "Payment required to access this course",
        "payment_id": null,
        "completion_status": "not_started"
    }
}
```

{% endtab %}

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

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

{% endtab %}
{% endtabs %}
