Docs

Collections

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

Get collections Hub and above

Use this endpoint to get a paginated list of collections.

GET/v1/headless/collections

Query parameters

FieldTypeRequiredDefaultDescriptionOptions
identifierstringNo
clientIdentifierstringNo
lengthnumberNo100
pagenumberNo0
deletedbooleanNofalse

Get collection Hub and above

Use this endpoint to get a collection by ID.

GET/v1/headless/collections/{id}

Path parameters

FieldDescriptionOptions
idCollection ID

Create collection Embed Core and above

Use this endpoint to create a new collection.

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

Delete collection Embed Core and above

Use this endpoint to soft-delete a collection by ID.

DELETE/v1/headless/collection/{id}

Path parameters

FieldDescriptionOptions
idCollection ID

Restore collection Embed Core and above

Use this endpoint to restore a soft-deleted collection.

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

Path parameters

FieldDescriptionOptions
idCollection ID