Get Course Lesson
Returns the full content and metadata for a specific lesson within a course. Used to display lesson content and allow the customer to mark it as complete.
Authentication
Requires a valid customer bearer token.
Path Parameters
Numeric identifier of the course.
Numeric identifier of the lesson within the course.
Query Parameters
Comma-separated list of field paths to include in the response. When provided, only the
specified fields are returned — useful for reducing payload size. Supports nested paths
using dot notation.
Response
Returns a CourseLesson object. The lesson content is nested inside a Lesson property.
The lesson content object.
Unique identifier for the lesson.
UUID for the lesson — used as {lessonUniqueId} in the complete-lesson endpoint.
Display title of the lesson.
Full lesson content. May contain HTML.
Short summary text for the lesson.
Whether the authenticated customer has marked this lesson as complete.
Whether there is a next lesson in the course.
Whether this is the last active (uncompleted) lesson.
The parent course summary.
The section this lesson belongs to.
Examples
Fetch a lesson
GET /api/public/courses/v2/42/lessons/7
Authorization: Bearer {token}
TypeScript Integration
import endpoints from '@/api/endpoints'
const { resource: lesson } = useTypedData(httpClient, endpoints.courses.lesson(42, 7))