Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

module_id
string
required

Body

application/json
title
string
required
Maximum string length: 160
type
enum<string>
required
Available options:
video,
text,
pdf,
file
content
string
video_url
string
file_url
string
duration_seconds
integer
Required range: x >= 0
is_preview
boolean
sort_order
integer
Required range: x >= 0

Response

Lesson created by an admin or the creator instructor of its course.