Kurse
Update course
/ v1 / courses / {course_id} Changes the fields that you send. All other fields stay. The fields have the same names and formats as in GET /v1/courses/{course_id}.
Renaming a course does not change the products that sell it.
Autorisierung
-
Authorizationstring Header erforderlichBearer tnt_…· A personal API key (tnt_...). Create it in the Tentary app on the page AI & API. Einführung
Pfad-Parameter
-
course_idinteger erforderlichThe id from list_courses.
min.
1Beispiel:202
Body application/json
-
namestringCourse name.
min. Länge
1max. Länge255 -
description_htmlstringIntroduction as HTML. Shows only with layout cards, above the modules.
max. Länge
65535 -
cover_image_urlstring kann null seinCourse banner: the image_url from finish_image, or a public image URL that Tentary copies.
max. Länge
2048 -
layoutstringHow buyers see the course. classic (default): sidebar and content. fullscreen: edge to edge. fokus: reading without distraction. cards: a start screen with module cards.
Mögliche Werte:
classicfullscreenfokuscards -
tracks_progressbooleanBuyers can mark lessons as done (default true). Needed for release type after_lesson.
Antwort
Felder der Antwort mit Status 200. Fehler haben immer dasselbe Format, siehe Fehler.
-
idintegerThe ID.
-
namestringThe name.
-
description_htmlstringShows only with layout cards.
-
cover_image_urlstring kann null seinCourse banner.
-
layoutstringHow buyers see the course: classic, fullscreen, fokus or cards.
Mögliche Werte:
classicfullscreenfokuscards -
tracks_progressbooleantrue = buyers can mark lessons as done.
-
lessonsintegerLessons, drafts included.
-
participantsintegerBuyers and people with granted access, each e-mail address once.
-
drip_release_hourobjectLessons with release days or a date unlock at this hour, in this time zone (not UTC).
2 Felder anzeigen Felder ausblenden
-
hourinteger0 to 23.
-
time_zonestring kann null seinThe seller's time zone, like Europe/Berlin.
-
-
productsarray of objectProducts that sell the course.
3 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
namestringThe name.
-
statusstringThe status.
Mögliche Werte:
livedraftarchived
-
-
itemsarray of objectModules and lessons in order.
9 Felder anzeigen Felder ausblenden
-
idintegerThe ID.
-
kindstringmodule or lesson.
Mögliche Werte:
modulelesson -
titlestringThe title.
-
cover_image_urlstring kann fehlen kann null seinModules only.
-
positionintegerPlace in its module or among the main items, 1 = first.
-
draftbooleanA draft module hides all items in it.
-
free_previewbooleantrue = everyone can open it as a free preview, also without a purchase.
-
releaseobject kann null seinWhen buyers get the item. null = at once.
Eine dieser Varianten:
type: days_after_purchase· 2 Felder-
typestringThe rule type.
Mögliche Werte:
days_after_purchase -
daysintegerDays after the purchase.
type: hours_after_purchase· 2 Felder-
typestringThe rule type.
Mögliche Werte:
hours_after_purchase -
hoursintegerHours after the purchase.
type: date· 2 Felder-
typestringThe rule type.
Mögliche Werte:
date -
datestring<date>Like 2026-01-31.
type: after_lesson· 4 Felder-
typestringThe rule type.
Mögliche Werte:
after_lesson -
lesson_idintegerThe lesson that the buyer must finish first.
-
lesson_titlestring kann null seinThe title of that lesson.
-
enforcedbooleanfalse = the course does not track progress, so the rule has no effect.
-
-
itemsarray of objectThe items of a module, in order (modules and lessons). Empty for a lesson.
9 Felder anzeigen Felder ausblenden
-
-
admin_urlstring<uri>The page in the Tentary app.