Skip to main content
POST
/
lms
/
courses
Create course
curl --request POST \
  --url https://api.kombo.dev/v1/lms/courses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "description": "<string>",
  "url": "<string>",
  "skills": [
    {
      "name": "<string>",
      "skill_level": "<string>"
    }
  ]
}'
{
"status": "success",
"data": {
"id": "3KMdr68N8kG9EzLwjsN9aoz",
"remote_id": "42",
"title": "TypeScript for Beginners",
"description": "A comprehensive introduction to TypeScript programming, covering types, interfaces, generics, and best practices for modern web development.",
"url": "https://learning.acme.com/courses/typescript-beginners",
"remote_created_at": "2022-08-07T14:01:29.196Z",
"skills": [
{
"name": "TypeScript Programming",
"skill_level": "Beginner"
},
{
"name": "JavaScript Fundamentals",
"skill_level": "Intermediate"
}
],
"ordered_content": [],
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": null,
"remote_data": null
}
}

Authorizations

Authorization
string
header
required

Create an API key on the Secrets page in the Kombo dashboard.

Body

application/json

POST /lms/courses Request body

title
string
required

The title of the course

description
string | null

A description of the course

url
string | null

URL where the course can be accessed

skills
object[]

Skills that will be taught in this course

Response

POST /lms/courses Positive response

status
string
required
Allowed value: "success"
data
object
required
Examples:
{
"id": "3KMdr68N8kG9EzLwjsN9aoz",
"remote_id": "42",
"title": "TypeScript for Beginners",
"description": "A comprehensive introduction to TypeScript programming, covering types, interfaces, generics, and best practices for modern web development.",
"url": "https://learning.acme.com/courses/typescript-beginners",
"remote_created_at": "2022-08-07T14:01:29.196Z",
"skills": [
{
"name": "TypeScript Programming",
"skill_level": "Beginner"
},
{
"name": "JavaScript Fundamentals",
"skill_level": "Intermediate"
}
],
"ordered_content": [],
"changed_at": "2022-08-07T14:01:29.196Z",
"remote_deleted_at": null,
"remote_data": null
}