---
title: "Add Course Content"
method: POST
path: "/demo-custom-course/{course_id}/content"
tags: ["Demo Custom Course"]
---

# Add Course Content

`POST /demo-custom-course/{course_id}/content`

Add new content to the ephemeral custom course doc.

## Path parameters

- `course_id` string, required

## Query parameters

- `session_id` string, required

## Request body

- CourseContentCreate
  - `content` string, required
  - `content_type` string
  - `latex_content` string

## Response `200`

Successful Response

- RoutersDemoCustomCourseCustomCourseResponse
  - `id` string, required
  - `title` string, required
  - `content` RoutersDemoCustomCourseCustomCourseContent[], required
    - `content` string, required
    - `latex_content` string, required
    - `content_type` string, required
    - `order` integer, required
    - `created_at` string, date-time

## Other responses

- `422` — Validation Error

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-09-24** `d367d251945b` — 1 info
  - the `created_at` response's property default value changed from `2026-09-23T20:42:23.970047` to `2026-09-24T21:10:18.175078` for the status `200`
- **2026-09-24** `957b18a69df8` — 1 info
  - the `created_at` response's property default value changed from `2026-09-22T17:22:42.772946` to `2026-09-23T20:42:23.970047` for the status `200`
- **2026-09-23** `b73d9bd491c3` — 1 info
  - the `created_at` response's property default value changed from `2026-09-22T12:37:08.292519` to `2026-09-22T17:22:42.772946` for the status `200`
- **2026-09-22** `05e048df94c6` — 1 info
  - the `created_at` response's property default value changed from `2026-09-21T16:21:58.218564` to `2026-09-22T12:37:08.292519` for the status `200`
- **2026-09-21** `140aaf394b17` — 1 info
  - the `created_at` response's property default value changed from `2026-09-20T20:59:56.011978` to `2026-09-21T16:21:58.218564` for the status `200`

[Full history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/demo-custom-course/:course_id/content/post.md)

---

[API](https://skmtc.dev/excellence-ai/apis/excellence-learning.md) · [All operations](https://skmtc.dev/excellence-ai/apis/excellence-learning/llms.txt) · [OpenAPI document](https://skmtc.dev/excellence-ai/apis/excellence-learning/revisions/d367d251945b?raw)
