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

Show Lesson

Returns a single lesson by its unique identifier, including its topic outline and parent course and section context

Returns a single lesson by its unique identifier, including its topic outline and parent course and section context.

GEThttps://example.thoughtindustries.com/incoming/v2/lessons/:id

Example request

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

Parameters

NameTypeRequiredLocationDescription
iduuidYespathThe unique identifier of the lesson to retrieve.

Example response

{
  "data": {
    "APILessonById": {
      "id": "00000000-0000-0000-0000-000000000000",
      "title": "string",
      "slug": "example-slug",
      "accessLevel": "studentsOnly",
      "sectionId": "00000000-0000-0000-0000-000000000000",
      "sectionTitle": "string",
      "courseId": "00000000-0000-0000-0000-000000000000",
      "courseTitle": "string",
      "topicCount": 0,
      "topicOutline": [
        {
          "id": "00000000-0000-0000-0000-000000000000",
          "title": "string",
          "type": "ad",
          "editableByChildren": true
        }
      ]
    }
  }
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the lesson.
titlestringDisplay title of the lesson.
slugstringURL-friendly identifier for the lesson.
accessLevelAccessLevelDefines who can access the lesson (e.g., studentsOnly).
sectionIduuidUnique identifier of the section that contains this lesson.
sectionTitlestringDisplay title of the parent section.
courseIduuidUnique identifier of the course that contains this lesson.
courseTitlestringDisplay title of the parent course.
topicCountintegerTotal number of topics within the lesson.
topicOutlinePageResourceOutline[]Ordered list of topics belonging to the lesson.
topicOutline.iduuidUnique identifier of the topic.
topicOutline.titlestringDisplay title of the topic.
topicOutline.typeTopicTypeContent type of the topic (e.g., ad).
topicOutline.editableByChildrenbooleanIndicates whether child accounts can edit this topic.