Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Scoped tsk_… API token or Access JWT

Path Parameters

lessonId
string
required
Minimum string length: 1

Body

application/json

The body is of type object.

Response

Success

id
string
required
Minimum string length: 1
moduleId
string
required
Minimum string length: 1
courseId
string
required
Minimum string length: 1
title
string
required
Minimum string length: 1
minutes
integer
required
Required range: 1 <= x <= 240
position
integer
required
Required range: 0 <= x <= 9007199254740991
status
enum<string>
required
Available options:
draft,
published
publishedAt
string | null
required
Minimum string length: 1