Skip to main content
POST
Duplicate a Lesson

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Lesson ID.

Body

application/json
name
string

Name of the copy, up to 255 characters. Omitted or empty uses Copy of followed by the original name, in the school language. The complete name must fit the limit.

Maximum string length: 255
idempotency_key
string

Reuse the same key with identical request details to return the existing operation. Different request details with the same key return HTTP 422.

Required string length: 1 - 255
destination_section_id
string

Destination section ID. Defaults to the source section. You need edit access to both programs.

Required string length: 1 - 255

Response

Existing duplication request. Check its status.

id
string
required
operation
string
required
Example:

"duplicate_lesson"

status
enum<string>
required
Available options:
pending,
running,
completed,
failed
result
object | null
required

Details of the copied lesson once duplication is complete.

error
string | null
required