Fetch Course Details

Fetches details of a given course

GET {{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.

{
    "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"
    }
}

Last updated

Was this helpful?