---
title: "Copy folder"
method: POST
path: "/v1/bulkJobs/copyFolder"
tags: ["Digital Asset Management (DAM)", "Managing folders"]
---

# Copy folder

`POST /v1/bulkJobs/copyFolder`

This will copy one folder into another. The selected folder, its nested folders, files, and their versions (in `includeVersions` is set to true) are copied in this operation. Note: If any file at the destination has the same name as the source file, then the source file and its versions will be appended to the destination file version history.

## Request body

- object
  - `sourceFolderPath` string, required — The full path to the source folder you want to copy.
  - `destinationPath` string, required — Full path to the destination folder where you want to copy the source folder into.
  - `includeVersions` boolean — Option to copy all versions of files that are nested inside the selected folder. By default, only the current version of each file will be copied. When set to true, all versions of each file will be copied. Default value - `false`.

## Response `200`

- JobResponse — Job submitted successfully. A `jobId` will be returned.
  - `jobId` string, required — Unique identifier of the bulk job. This can be used to check the status of the bulk job.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized request.
- `403` — Forbidden.
- `404` — Folder not found
- `423` — Locked resource - A bulk operation is currently running on the folder.
- `429` — The request exceeded the rate limit. Contains headers indicating the limits and a message detailing the error.

---

[API](https://skmtc.dev/imagekit-developer/apis/imagekit-api.md) · [All operations](https://skmtc.dev/imagekit-developer/apis/imagekit-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/imagekit-developer/imagekit-api/revisions/bb3e9ff84b3e/schema)
