Skip to main content
PUT
Save edits to a course draft

Authorizations

x-access-token
string
header
required

Organization API token. Generate from Organization Settings → API Tokens.

Path Parameters

orgId
string
required

Your organization ID. Any other organization returns 404.

draftId
string<uuid>
required

Body

application/json
bundle
object
required

Lessons, the course and the certification. A lesson's watch step plays a clip (mediaItemId) and may carry checkpoints — questions with atSeconds, seconds into the clip. A question has prompt, type, options, answer (multi-select, ordering and matching answers are JSON strings), optional config and feedback (correct, incorrect, hint). Keys are permanent: publishing upserts by key.

title
string
Maximum string length: 255
baseUpdatedAt
string<date-time>

Response

Saved; the draft as in Get a course draft.