Skip to main content
https://.thoughtindustries.com

Course Groups

Returns a paginated list of course groups. Filter results by kind, template status, or archived state

Returns a paginated list of course groups. Filter results by kind, template status, or archived state.

GEThttps://example.thoughtindustries.com/incoming/v2/courseGroups

Example request

curl "https://example.thoughtindustries.com/incoming/v2/courseGroups" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
kindCourseGroupKindNoqueryFilters results to course groups of the specified kind (e.g., microCourse).
isTemplatebooleanNoqueryWhen true, returns only course groups marked as templates.
archivedbooleanNoqueryWhen true, returns only archived course groups.
pageintegerNoqueryPage number to retrieve in the paginated result set.
perPageintegerNoqueryNumber of course groups to return per page.

Example response

{
  "data": {
    "APICourseGroups": {
      "pageInfo": {
        "perPage": 0,
        "currentPage": 0,
        "total": 0,
        "hasMore": true
      },
      "courseGroups": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "title": "string",
          "slug": "example-slug",
          "kind": "microCourse",
          "status": "draft",
          "isTemplate": true,
          "language": "string",
          "contentType": "string",
          "authors": [
            "string"
          ],
          "description": "string",
          "displayCourseId": "00000000-0000-0000-0000-000000000000",
          "courseCount": 0
        }
      ]
    }
  }
}

Response fields

FieldTypeDescription
pageInfoPageInfoPagination metadata for the result set.
pageInfo.perPageintegerNumber of course groups returned per page.
pageInfo.currentPageintegerThe current page number in the paginated result set.
pageInfo.totalintegerTotal number of course groups matching the query.
pageInfo.hasMorebooleanIndicates whether additional pages of results are available.
courseGroupsAPICourseGroupInfo[]Array of course group objects matching the query.
courseGroups.iduuidUnique identifier for the course group.
courseGroups.titlestringDisplay title of the course group.
courseGroups.slugstringURL-friendly identifier for the course group.
courseGroups.kindCourseGroupKindThe category or type of the course group (e.g., microCourse).
courseGroups.statusStatusPublication status of the course group (e.g., draft).
courseGroups.isTemplatebooleanIndicates whether the course group is marked as a template.
courseGroups.languagestringLanguage code of the course group's content.
courseGroups.contentTypestringThe content type associated with the course group.
courseGroups.authorsstring[]List of author names or identifiers credited to the course group.
courseGroups.descriptionstringShort description of the course group.
courseGroups.displayCourseIduuidUnique identifier of the course used as the display representative for this group.
courseGroups.courseCountintegerTotal number of courses contained in the course group.