---
title: "Create Folder"
method: POST
path: "/folders/"
tags: ["folders"]
---

# Create Folder

`POST /folders/`

Create a new folder

## Request body

- FolderCreate
  - `name` string, required
  - `parent_folder_id` string, nullable
  - `folder_type` 'teacher_exam' | 'teacher_exercise' | 'teacher_assignment' | 'teacher_course' | 'student_course' | 'student_assignment', required
  - `school_year` string, nullable

## Response `200`

Successful Response

- FolderResponse
  - `id` string, required
  - `name` string, required
  - `user_id` string, required
  - `parent_folder_id` string, nullable
  - `folder_type` 'teacher_exam' | 'teacher_exercise' | 'teacher_assignment' | 'teacher_course' | 'student_course' | 'student_assignment', required
  - `sharing_options` SharingOptions — Model for sharing configuration across folders, exams, and exercises
    - `shared_with_school` boolean
    - `shared_with` string[]
    - `read_only` boolean
  - `is_favorites_root` boolean
  - `school_year` string, nullable
  - `is_past` boolean
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-07** `0ccba2913cca` — 3 info
  - added the new optional request property `school_year`
  - added the optional property `is_past` to the response with the `200` status
  - added the optional property `school_year` to the response with the `200` status

[Change history](https://skmtc.dev/excellence-ai/apis/excellence-learning/changes/folders/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/2a0c1636fd3b?raw)
