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

# Insert Course Content

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

Insert new content at a specific index in ephemeral doc.

## Path parameters

- `course_id` string, required

## Query parameters

- `session_id` string, required

## Request body

- CourseContentInsert
  - `content` string, required
  - `content_type` string, required
  - `index` integer, required

## 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

> 19 revisions in range; 1 not diffed.

- **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`
- **2026-09-20** `294412cdd7e2` — 1 info
  - the `created_at` response's property default value changed from `2026-09-18T23:23:18.444432` to `2026-09-20T20:59:56.011978` for the status `200`
- **2026-09-19** `c81ed506912f` — 1 info
  - the `created_at` response's property default value changed from `2026-09-17T10:04:40.753003` to `2026-09-18T23:23:18.444432` for the status `200`
- **2026-09-17** `1c9d51d22866` — 1 info
  - the `created_at` response's property default value changed from `2026-09-15T20:23:35.398343` to `2026-09-16T22:26:54.334826` for the status `200`

[Full history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/demo-custom-course/:course_id/content/insert/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/05e048df94c6?raw)
