v8
OpenAPI 3.1.02026-08-033623795.0 MBCourses
List courses
Returns a paginated list of courses, filtered by either an experience or a company.
Required permissions:
- courses:read
get/courses
Query parameters
afterstring nullable
Returns the elements in the list that come after the specified cursor.
beforestring nullable
Returns the elements in the list that come before the specified cursor.
firstinteger nullable
Returns the first n elements from the list.
Example:42
lastinteger nullable
Returns the last n elements from the list.
Example:42
experience_idstring nullable
The unique identifier of the experience to list courses for.
Example:exp_xxxxxxxxxxxxxx
company_idstring nullable
The unique identifier of the company to list courses for.
Example:biz_xxxxxxxxxxxxxx
Response
A successful response
Example response
{
"data": [
{
"cover_image": "https://assets.whop.com/images/course-cover.jpg",
"created_at": "2023-12-01T05:00:00.401Z",
"description": "Learn advanced trading strategies from industry experts.",
"id": "cors_xxxxxxxxxxxxx",
"order": "123.45",
"tagline": "Master the fundamentals in 30 days",
"thumbnail": {
"content_type": "image/jpeg",
"filename": "document.pdf",
"optimized_url": "https://media.whop.com/abc123/optimized.jpg",
"source_url": "https://media.whop.com/abc123/original.jpg"
},
"title": "Introduction to Technical Analysis",
"updated_at": "2023-12-01T05:00:00.401Z"
}
]
}