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

Course Group By Slug

Returns a single course group matching the provided URL slug

Returns a single course group matching the provided URL slug.

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

Example request

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

Parameters

NameTypeRequiredLocationDescription
slugstringYespathThe slug identifier.

Example response

{
  "data": {
    "APICourseGroupBySlug": {
      "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,
      "asset": "string",
      "assetAltText": "string",
      "detailAsset": "string",
      "detailAssetAltText": "string",
      "metaTitle": "string",
      "metaDescription": "string",
      "customFields": {},
      "isbn": "string",
      "source": "string",
      "externalPurchaseUrl": "string",
      "externalDetailUrl": "string"
    }
  }
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the course group.
titlestringDisplay title of the course group.
slugstringURL-friendly slug used to identify the course group.
kindCourseGroupKindCategory type of the course group (e.g., microCourse).
statusStatusPublication status of the course group (e.g., draft).
isTemplatebooleanIndicates whether the course group is a template.
languagestringLanguage of the course group content.
contentTypestringContent type classification for the course group.
authorsstring[]List of author names or identifiers associated with the course group.
descriptionstringShort descriptive text for the course group.
displayCourseIduuidIdentifier of the course used for display or marketing purposes within the group.
courseCountintegerTotal number of courses contained in the course group.
assetstringURL or reference to the primary thumbnail or listing image for the course group.
assetAltTextstringAccessibility alt text for the primary asset image.
detailAssetstringURL or reference to the detail page image for the course group.
detailAssetAltTextstringAccessibility alt text for the detail asset image.
metaTitlestringSEO meta title for the course group detail page.
metaDescriptionstringSEO meta description for the course group detail page.
customFieldsobjectKey-value pairs of custom metadata fields defined for the course group.
isbnstringISBN assigned to the course group, if applicable.
sourcestringOrigin or source system from which the course group was created or imported.
externalPurchaseUrlstringExternal URL where learners can purchase access to the course group.
externalDetailUrlstringExternal URL pointing to additional detail or marketing information for the course group.