Show Lesson
Returns a single lesson by its unique identifier
Returns a single lesson by its unique identifier.
GET
https://example.thoughtindustries.com/incoming/v2/lessons/:idExample request
curl "https://example.thoughtindustries.com/incoming/v2/lessons/:id" \
-H 'Authorization: Bearer YOUR_API_KEY'Parameters
| Name | Type | Required | Location | Description |
|---|---|---|---|---|
id | uuid | Yes | path | The unique identifier of the lesson to retrieve. |
Example response
{
"id": "00000000-0000-0000-0000-000000000000",
"title": "string",
"slug": "example-slug",
"accessLevel": "studentsOnly",
"sectionId": "00000000-0000-0000-0000-000000000000",
"sectionTitle": "string",
"topicCount": 0
}Response fields
| Field | Type | Description |
|---|---|---|
id | uuid | Unique identifier of the lesson. |
title | string | Display title of the lesson. |
slug | string | URL-friendly identifier for the lesson. |
accessLevel | AccessLevel | Defines who can access the lesson (e.g., studentsOnly). |
sectionId | uuid | Unique identifier of the section that contains this lesson. |
sectionTitle | string | Display title of the parent section. |
topicCount | integer | Total number of topics within the lesson. |