---
title: "Duplicate document"
method: POST
path: "/api/v1/documents/{identifier}/duplicate"
tags: ["Documents"]
---

# Duplicate document

`POST /api/v1/documents/{identifier}/duplicate`

## Path parameters

- `identifier` string, required — Document identifier (either document ID or identifier slug)

## Query parameters

- `userId` string, uuid — Target user membership ID (for org-scoped API keys)

## Request body

- DocumentsDuplicateBody
  - `folderPath` string, nullable — Destination folder path (null for root)
  - `name` string, required — Name for the duplicated document
  - `scope` 'restricted' | 'organization' — Access scope for the duplicated document

## Response `201`

Document duplicated successfully

- DocumentsDuplicateResponse
  - `dashboardId` string, required — New dashboard ID
  - `identifier` string, required — New document identifier
  - `name` string, required — Document name
  - `workbookId` string, required — New workbook ID

## Other responses

- `400` — Invalid name or folder path
- `401` — Authentication required
- `403` — Permission denied
- `404` — Document or folder not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/de7cac8b5983/schema)
