LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Courses → List

AI-generated

Summary

Retrieve a list of LearnDash courses applying optional filters such as search keywords, pagination, ordering, and status to refine the results.

Inputs

  • Filters — Use this collection to specify filtering options, including Search to filter courses by text, Per Page to limit the number of results per page (1-100), Page for selecting the pagination page number, Order to sort results ascending or descending, Order By to define the sorting property (Date, ID, Include, Menu Order, Slug, or Title), and Status to filter courses by their publication status (Any, Draft, Pending, Private, Publish, Trash).
  • Query Parameters (JSON) — Optionally provide a JSON string with additional query parameters to use for advanced filtering cases not covered by the standard Filters fields.

Output shape

a list of course objects

The output is an array of course records matching the specified filters and query parameters. The node returns all results from the corresponding LearnDash API endpoint for courses, with pagination controlled via inputs. If the API response is a single object, it is wrapped as a single-item array.

Discussion