v8
OpenAPI 3.1.02026-08-033623795.0 MBCourses
Create course
Create a new course within an experience, with optional chapters, lessons, and a certificate.
Required permissions:
- courses:update
post/courses
Request body
Example request
{
"experience_id": "exp_xxxxxxxxxxxxxx",
"order": "123.45"
}Response
A successful response
Example response
{
"chapters": [
{
"id": "chap_xxxxxxxxxxxxx",
"lessons": [
{
"id": "lesn_xxxxxxxxxxxxx",
"order": 42,
"thumbnail": {
"url": "https://media.whop.com/abc123/optimized.jpg"
},
"title": "Understanding Candlestick Patterns",
"video_asset": {
"duration_seconds": 42
}
}
],
"order": 42,
"title": "Getting Started"
}
],
"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"
}