Skip to Content
API ReferenceCourses

Create a course

Create a draft course with its details, access rules, and delivery message.

Create a course as a draft. Only title is required; every other field has a default you can change later with Update a course.

A new course cannot be bought yet. It has no sections and one draft option, Default, priced at 0 USD. To sell it:

  1. Set the option's price with the product variants endpoints. The course id is its product ID.
  2. Add sections and lessons.
  3. Publish it with POST /v2/products/{product}/publish. A PUBLIC course also needs a ready promotional video and at least one published lesson.

visibility only decides who can find the course once it is published; the course stays a draft whatever you send. Each successful request creates another course, so after a lost response search courses for the title before you try again.

POST
/v2/courses

Authorization

headerAuthorizationBearer <API Key>

Provide your SellApp API key as a bearer token.

Header Parameters

X-STORE?string

Store slug. Required for OAuth access tokens. API keys may omit it to use their current store, or the first accessible store when no current store is selected.

Request Body

application/json
  1. body
category?|
Value in"development""business""marketing""design""finance""it-software""personal-development""productivity""other"null
level?string
Value in"all_levels""beginner""intermediate""advanced"
language?string
Lengthlength <= 255
subtitle?|
Lengthlength <= 120
author?|
Lengthlength <= 120
subcategory?|
Lengthlength <= 255
what_you_learn?array<>
Itemsitems <= 50
requirements?array<>
Itemsitems <= 50
certificate_enabled?boolean
access_type?string
Value in"lifetime""limited"
access_duration_days?|

Required when access_type is limited; cleared otherwise.

Range1 <= value <= 3650
enrollment_limit?|
Range1 <= value
delivery_text?|
Lengthlength <= 65535
title*string

The course name customers see.

Length1 <= length <= 255
slug?string

The last part of the course's storefront URL: lowercase letters and numbers in words joined by single hyphens, such as design-foundations. It must be unused by every other product in the store, or the request returns 422 on slug. When you leave it out, SellApp makes one from the title.

Match^[a-z0-9]+(?:-[a-z0-9]+)*$
Lengthlength <= 255
description?|

The course description as HTML, at least 5 characters long and at most 2000 characters of visible text. Leave it out, or send null, to start without one; a course needs a description before it is published.

Length5 <= length
visibility?CatalogVisibility
Default"HIDDEN"
Value in"PUBLIC""ON_HOLD""HIDDEN""PRIVATE"

Response Body

Course created as a draft.

application/json
  1. response
data*
Example Request
curl -X POST 'https://sell.app/api/v2/courses' \  -H 'X-STORE: launch-lab' \  -H 'Content-Type: application/json' \  -d '{  "title": "Brand identity basics",  "description": "<p>Design a logo, color palette, and type system for your next project.</p>",  "category": "design",  "level": "beginner",  "language": "English",  "what_you_learn": [    "Sketch a logo concept.",    "Choose a color palette."  ],  "certificate_enabled": true,  "delivery_text": "Open your course from the link in your receipt."}'
{  "data": {    "id": 61,    "title": "Brand identity basics",    "slug": "brand-identity-basics",    "description": "<p>Design a logo, color palette, and type system for your next project.</p>",    "visibility": "HIDDEN",    "is_draft": true,    "delivery_text": "Open your course from the link in your receipt.",    "category": "design",    "level": "beginner",    "language": "English",    "subtitle": null,    "author": null,    "subcategory": null,    "what_you_learn": [      "Sketch a logo concept.",      "Choose a color palette."    ],    "requirements": [],    "certificate_enabled": true,    "access_type": "lifetime",    "access_duration_days": null,    "enrollment_limit": null,    "promo_video": null,    "sections": [],    "created_at": "2026-09-04T09:00:00.000000Z",    "updated_at": "2026-09-04T09:00:00.000000Z"  }}