Docs

Collections

Collections group courses into curated learning paths. You can list, retrieve, create, update, delete, and restore collections.

Collection share traits like identified and private apply to the share link only, not to embeddables. Embeddables get the learner identifier from the embed token, not these flags.

Get collections

Use this endpoint to get a paginated list of collections.

GET/v1/headless/collections

Query parameters

FieldTypeRequiredDefaultDescriptionOptions
identifierstringNo—Filter to collections owned by a specific user identifier—
clientIdentifierstringNo—Filter to collections belonging to a specific client—
lengthstring | integerNo100Maximum number of collections to return (max 100)—
pagestring | integerNo0Zero-indexed page number—
deletedbooleanNofalseInclude soft-deleted collections—

Get collection

Use this endpoint to get a collection by ID.

GET/v1/headless/collections/{id}

Path parameters

FieldDescriptionOptions
idCollection ID—

Create collection

Use this endpoint to create a new collection.

Optional share-link gates: identified, private, domain, domains, and emails. These control who can open the collection share link. They do not apply to embeddables.

POST/v1/headless/collection

Body parameters

FieldTypeRequiredDescOptions
titlestringYesTitle shown to learners—
descriptionstring | nullNoDescription shown on the collection landing screen—
identifierstringNoYour stable identifier for the collection owner—
clientIdentifierstringNoThe client this collection belongs to—
themeIdnumber | nullNoTheme ID applied to the collection—
courseIdsnumber[]NoInitial course IDs to include, in display order—
identifiedbooleanNoShare-link gate: learners must identify (typically by email) before opening the collection share link. Does not apply to embeddables.—
privatebooleanNoShare-link gate: only invited emails can open the collection share link. Does not apply to embeddables.—
domainbooleanNoShare-link gate: only learners on approved email domains can open the collection share link. Does not apply to embeddables.—
domainsstring[]NoShare-link gate: approved email domains for the collection share link. Does not apply to embeddables.—
emailsstring[]NoShare-link gate: invited learner emails for the collection share link. Does not apply to embeddables.—

Update collection

Use this endpoint to update an existing collection's metadata and share-link gates.

You can set title, description, identifier, clientIdentifier, themeId, and the share-link gates identified, private, domain, domains, and emails. This endpoint does not change which courses are in the collection.

PUT/v1/headless/collection/{id}

Path parameters

FieldDescriptionOptions
idCollection ID—

Body parameters

FieldTypeRequiredDescOptions
titlestringNoTitle shown to learners—
descriptionstring | nullNoDescription shown on the collection landing screen—
identifierstringNoYour stable identifier for the collection owner—
clientIdentifierstringNoThe client this collection belongs to—
themeIdnumber | nullNoTheme ID applied to the collection—
identifiedbooleanNoShare-link gate: learners must identify (typically by email) before opening the collection share link. Does not apply to embeddables.—
privatebooleanNoShare-link gate: only invited emails can open the collection share link. Does not apply to embeddables.—
domainbooleanNoShare-link gate: only learners on approved email domains can open the collection share link. Does not apply to embeddables.—
domainsstring[]NoShare-link gate: approved email domains for the collection share link. Does not apply to embeddables.—
emailsstring[]NoShare-link gate: invited learner emails for the collection share link. Does not apply to embeddables.—

Delete collection

Use this endpoint to soft-delete a collection by ID. It can be restored with the restore endpoint. Closing the workspace or the customer removes it permanently.

DELETE/v1/headless/collection/{id}

Path parameters

FieldDescriptionOptions
idCollection ID—

Restore collection

Restore a soft-deleted collection by ID. If its customer was deleted, create a customer in the same workspace with the same identifier and call this endpoint before the restore deadline. The collection keeps its ID and original creation date. Playback resumes. The old customer and its users stay deleted.

Without a replacement, 409 CUSTOMER_DELETED gives the deadline and recovery options, including restoring the whole customer when available. The window ends at the workspace retention period (30 days for keep forever) or an earlier purge deadline. Permanently deleted content cannot be restored. If an earlier purge left no record of which collections lost invitations or access, the endpoint returns 409 and directs you to support.

POST/v1/headless/collection/{id}/restore

Path parameters

FieldDescriptionOptions
idCollection ID—

Export SCORM

Use this endpoint to let users export a collection for a third party LMS. Use signed URLs to embed collections in your product. See recommended alternative →

Download a SCORM 1.2 or 2004 package with one SCO per course in the collection.

The default type=dynamic package works on every plan. type=static (Standalone SCORM) needs the Standalone SCORM add-on, available to Partner customers on approved request.

GET/v1/headless/collection/scorm/{id}

Path parameters

FieldDescriptionOptions
idCollection ID—

Query parameters

FieldTypeRequiredDefaultDescriptionOptions
typestringNo—dynamic (default) or static SCORM package typedynamicstatic
versionstringNo—SCORM version (default 2004)1.22004

Before downloading a Standalone SCORM package, call the estimate endpoint for its size and whether it exceeds the export cap. It accepts only type=static and includes per-course and shared-file breakdowns.

GET/v1/headless/collection/scorm/{id}/estimate

Path parameters

FieldDescriptionOptions
idCollection ID—

Query parameters

FieldTypeRequiredDefaultDescriptionOptions
typestringNo—static SCORM package typedynamicstatic
versionstringNo—SCORM version (default 2004)1.22004

For unscored quiz reporting, see Export SCORM in the Courses API.