---
title: "Create a product section"
method: POST
path: "/api/products/{productId}/sections"
tags: ["Product Content"]
---

# Create a product section

`POST /api/products/{productId}/sections`

## Path parameters

- `productId` string, required

## Request body

- SectionCreateRequest — Payload for creating a section. Requires only `name`.
  - `name` string, required

## Response `201`

Success.

- Section
  - `sectionId` string
  - `name` string
  - `rank` number
  - `collapsed` boolean
  - `drip` SectionDrip
    - `type` 'relative-date' | 'exact-date'
    - `status` boolean
    - `delayInMillis` number — Delay in milliseconds for `relative-date` drip. The input accepts a number interpreted as days (e.g. 3 = three days), but the value is persisted in millisecond equivalent (e.g. 259200000). The endpoint output always returns the stored millisecond value.
    - `dateInUTC` number — UNIX timestamp in milliseconds for `exact-date` drip. Both input and output use millisecond precision.
  - `lessonsOrder` string[]

## Other responses

- `422` — Section could not be created.

## Changes

- **2026-07-17** `3b48f60910dc` — 1 info
  - endpoint added
- **2026-04-19** `85a1c15f561d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/codelitdev/apis/courselit-rest-api/changes/api/products/:productId/sections/post.md)

---

[API](https://skmtc.dev/codelitdev/apis/courselit-rest-api.md) · [All operations](https://skmtc.dev/codelitdev/apis/courselit-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codelitdev/courselit-rest-api/revisions/3b48f60910dc/schema)
