---
title: "Add a Subsection to a Pathway"
method: POST
path: "/api/v2/pathways/{id}/sections/{section-id}/lessons"
tags: ["Pathway"]
---

# Add a Subsection to a Pathway

`POST /api/v2/pathways/{id}/sections/{section-id}/lessons`

This endpoint adds a subsection (lesson) to an existing section in a Pathway. <br><br><h3>Required Scope</h3>`pathways:write`

## Path parameters

- `id` string, required
- `section-id` string, required

## Request body

- SectionidLessonsBody
  - `data` Apiv2pathwaysidsectionssectionidlessonsData
    - `type` string
    - `attributes` Apiv2pathwaysidsectionssectionidlessonsDataAttributes
      - `sequence` integer — The sequence of the section. By default, sequence will append to end of current sequence. If the sequence has already been used with another section, an error will occur.
      - `title` string, nullable — The title of the section.
      - `description` string, nullable — Description of the section.

## Response `201`

Success

- InlineResponse2011
  - `data` InlineResponse2011Data
    - `type` string
    - `id` string — The id of the section.
    - `attributes` InlineResponse201DataAttributes
      - `sequence` integer — The sequence of the section. By default, sequence will append to end of current sequence. If the sequence has already been used with another section, an error will occur.
      - `title` string — The title of the section.
      - `description` string — The description of the section.

---

[API](https://skmtc.net/degreed/apis/degreed-api-web.md) · [All operations](https://skmtc.net/degreed/apis/degreed-api-web/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/degreed/degreed-api-web/versions/4a22b709515c/schema)
