---
title: "Add Topic To Hierarchy"
method: POST
path: "/admin/course-hierarchies/add-topic"
tags: ["admin"]
---

# Add Topic To Hierarchy

`POST /admin/course-hierarchies/add-topic`

Add a new topic to a course hierarchy.

## Request body

- NewTopicRequest — Request model for adding a new topic.
  - `course_id` string, required
  - `unit_index` integer, required
  - `module_index` integer, required
  - `topic_number` string, required
  - `topic_title` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[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-service-production.skmtc.workers.dev/v1/apis/excellence-ai/excellence-learning/revisions/ef67479ed898/schema)
