---
title: "GET /lessons/{lessonID}"
method: GET
path: "/lessons/{lessonID}"
tags: ["courses"]
---

# GET /lessons/{lessonID}

`GET /lessons/{lessonID}`

Get a lesson by id

## Path parameters

- `lessonID` string, uuid, required

## Response `200`

Successful response

- Lesson
  - `id` string, uuid — Unique identifier for the lesson
  - `createdAt` string, date-time — Timestamp of when the lesson was created.
  - `createdBy` string, uuid — User ID of the person who created the lesson.
  - `title` string — Title of the lesson.
  - `content` string — Content of the lesson.
  - `communityEmbedCards` CommunityEmbedCard[]
    - `id` string, uuid — Unique identifier for the community embed card.
    - `title` string — Title of the community embed card.
    - `description` string — Description of the community embed card.
    - `content` union
      - object
        - `type` 'CHANNEL', required
        - `channelID` string, uuid, required — Unique identifier for the channel.
      - object
        - `type` 'POST', required
        - `postID` string, uuid, required — Unique identifier for the post.
      - object
        - `type` 'EVENT', required
        - `eventID` string, uuid, required — Unique identifier for the event.
      - object
        - `type` 'DOCUMENT', required
        - `wikiPostID` string, uuid, required — Unique identifier for the wiki post.
      - object
        - `type` 'USERS', required
        - `userIDs` string[], required — List of unique identifiers for users.
        - `promptDirectMessage` boolean, required — Whether course members should be given the option to DM these users
      - object
        - `type` 'MATCHUPS', required

## Other responses

- `401` — API Key is missing or invalid
- `404` — Could not find the specified lesson

---

[API](https://skmtc.dev/heartbeat/apis/heartbeat-api.md) · [All operations](https://skmtc.dev/heartbeat/apis/heartbeat-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/heartbeat/heartbeat-api/revisions/6c3cf537d508/schema)
