get_courses
Retrieve a paginated list of all courses from your LearnWorlds school, with filtering by category, access level, and page number. Sorted by most recent first.
Instructions
🟢 READ-ONLY · Courses · GET /v2/courses
Get all courses
Returns a list of all courses of the school. The courses are in sorted order, with the most recently created course appearing first, and the list is paginated, with a limit of 50 courses per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Filter by the page number. In case page number is higher than the maximum one, the results of last page will be returned | |
| access | No | Filter by course access. This can be an array of strings if you want to query with multiple access values or just a string. Possible values are: paid, free, coming_soon, private, draft, enrollment_closed | |
| categories | No | Filter by course categories. For several categories, a comma separated string can be provided. |