Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
Lessons → List
AI-generatedSummary
Retrieve a paginated list of LearnDash lessons filtered and sorted according to specified criteria.
Inputs
- Filters — Optional filters including search term, number of results per page, page number, order (ascending or descending), order by (date, ID, include, menu order, slug, or title), and status (any, draft, pending, private, publish, trash).
- Query Parameters (JSON) — Optional advanced query parameters as a JSON object for filtering the lessons beyond the common filter fields.
Output shape
A list (array) of lesson objects, each representing a LearnDash lesson matching the specified filters and query parameters.
Results are paginated according to the 'Per Page' and 'Page' filters. The operation returns only matching lessons with fields as provided by the LearnDash LMS REST API endpoint.
Examples
Example 1: List the first 50 published lessons ordered by date ascending with optional filters.
Filters: Status = Publish, Per Page = 50, Page = 1, Order = ASC, Order By = Date
