Fetch Lesson Details

Fetches details of a given lesson

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

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

Last updated

Was this helpful?