Collections
Collections group courses into curated learning paths. You can list, retrieve, create, update, delete, and restore collections.
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.
/v1/headless/collectionsQuery parameters
| Field | Type | Required | Default | Description | Options |
|---|---|---|---|---|---|
identifier | string | No | — | Filter to collections owned by a specific user identifier | — |
clientIdentifier | string | No | — | Filter to collections belonging to a specific client | — |
length | string | integer | No | 100 | Maximum number of collections to return (max 100) | — |
page | string | integer | No | 0 | Zero-indexed page number | — |
deleted | boolean | No | false | Include soft-deleted collections | — |
Get collection
Use this endpoint to get a collection by ID.
/v1/headless/collections/{id}Path parameters
| Field | Description | Options |
|---|---|---|
id | Collection 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.
/v1/headless/collectionBody parameters
| Field | Type | Required | Desc | Options |
|---|---|---|---|---|
title | string | Yes | Title shown to learners | — |
description | string | null | No | Description shown on the collection landing screen | — |
identifier | string | No | Your stable identifier for the collection owner | — |
clientIdentifier | string | No | The client this collection belongs to | — |
themeId | number | null | No | Theme ID applied to the collection | — |
courseIds | number[] | No | Initial course IDs to include, in display order | — |
identified | boolean | No | Share-link gate: learners must identify (typically by email) before opening the collection share link. Does not apply to embeddables. | — |
private | boolean | No | Share-link gate: only invited emails can open the collection share link. Does not apply to embeddables. | — |
domain | boolean | No | Share-link gate: only learners on approved email domains can open the collection share link. Does not apply to embeddables. | — |
domains | string[] | No | Share-link gate: approved email domains for the collection share link. Does not apply to embeddables. | — |
emails | string[] | No | Share-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.
/v1/headless/collection/{id}Path parameters
| Field | Description | Options |
|---|---|---|
id | Collection ID | — |
Body parameters
| Field | Type | Required | Desc | Options |
|---|---|---|---|---|
title | string | No | Title shown to learners | — |
description | string | null | No | Description shown on the collection landing screen | — |
identifier | string | No | Your stable identifier for the collection owner | — |
clientIdentifier | string | No | The client this collection belongs to | — |
themeId | number | null | No | Theme ID applied to the collection | — |
identified | boolean | No | Share-link gate: learners must identify (typically by email) before opening the collection share link. Does not apply to embeddables. | — |
private | boolean | No | Share-link gate: only invited emails can open the collection share link. Does not apply to embeddables. | — |
domain | boolean | No | Share-link gate: only learners on approved email domains can open the collection share link. Does not apply to embeddables. | — |
domains | string[] | No | Share-link gate: approved email domains for the collection share link. Does not apply to embeddables. | — |
emails | string[] | No | Share-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.
/v1/headless/collection/{id}Path parameters
| Field | Description | Options |
|---|---|---|
id | Collection 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.
/v1/headless/collection/{id}/restorePath parameters
| Field | Description | Options |
|---|---|---|
id | Collection ID | — |
Export SCORM
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.
/v1/headless/collection/scorm/{id}Path parameters
| Field | Description | Options |
|---|---|---|
id | Collection ID | — |
Query parameters
| Field | Type | Required | Default | Description | Options |
|---|---|---|---|---|---|
type | string | No | — | dynamic (default) or static SCORM package type | dynamicstatic |
version | string | No | — | 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.
/v1/headless/collection/scorm/{id}/estimatePath parameters
| Field | Description | Options |
|---|---|---|
id | Collection ID | — |
Query parameters
| Field | Type | Required | Default | Description | Options |
|---|---|---|---|---|---|
type | string | No | — | static SCORM package type | dynamicstatic |
version | string | No | — | SCORM version (default 2004) | 1.22004 |
For unscored quiz reporting, see Export SCORM in the Courses API.