Create from Template
Paste or upload a JSON template to create a full course with modules, videos, and quizzes in one shot.
Template JSON
Paste your course template or upload a .json file
Preview
Verify the structure before creating
Paste a template and click Validate
Template Format Reference
Minimal valid template structure
{
"version": "1.0",
"course": {
"title": "Course Title", // required
"description": "...", // required
"category": "offensive", // required — offensive | defensive | forensics | crypto
"is_free": false, // optional, default false
"price_cents": 4999, // optional, price in cents (e.g. 4999 = ₹49.99)
"discount_percent": 20, // optional, % discount off price_cents
"completion_xp": 500, // optional, bonus XP on full course completion
"duration_minutes": 180, // optional
"image_url": "https://..." // optional
},
"modules": [
{
"title": "Lesson Title", // required
"content": "Lesson description",// required
"content_type": "VIDEO", // optional — VIDEO (default) | TEXT | PDF
"order_index": 0, // optional, auto-assigned if omitted
"duration_minutes": 30, // optional
"xp_reward": 100, // optional, default 100
// For content_type VIDEO — attach a video:
"video": {
"url": "https://youtube.com/...",
"provider": "youtube", // youtube | external
"title": "Video title",
"duration_seconds": 0
},
// For content_type TEXT — supply block content as JSON string:
"text_content": "[{"id":"1","type":"heading","level":2,"text":"Intro"}]",
// For content_type PDF — supply a publicly accessible PDF URL:
"pdf_url": "https://example.com/lesson.pdf",
"quiz": null // set to null or omit for no quiz
}
]
}