---
title: "Duplicate Folder"
method: POST
path: "/folders/{folder_id}/duplicate"
tags: ["folders"]
---

# Duplicate Folder

`POST /folders/{folder_id}/duplicate`

Copy a folder — own or shared — into the teacher's current year, at
the root, with its subfolders and everything they hold. The way a folder
of a finished year comes back into the year in progress.

## Path parameters

- `folder_id` string, required

## 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` — 1 info
  - endpoint added

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