---
title: "Duplicate a Document"
method: POST
path: "/v1/document/{document_id}/duplicate"
tags: ["Document"]
---

# Duplicate a Document

`POST /v1/document/{document_id}/duplicate`

Duplicate an existing document, potentially in a different hub

## Path parameters

- `document_id` string, uuid, required

## Request body

- DuplicateDocumentAsync
  - `context` BaseRequestContext
    - `projectId` string, uuid
    - `processPublicId` string, uuid, nullable
    - `processSectionPublicId` string, uuid, nullable
    - `processResponsePublicId` string, uuid, nullable
  - `targetProjectId` string, uuid, required
  - `duplicateLinkedTables` boolean, nullable
  - `duplicatePermissions` boolean

## Response `201`

Duplication started successfully

## Other responses

- `403` — Not authorized to duplicate this document
- `404` — Document not found or has been deleted

## Changes

- **2025-07-05** `9c58c1c1e7e8` — 1 info
  - endpoint added
- **2025-07-05** `69960ee36427` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/morta-technology/apis/morta-api-reference/changes/v1/document/:document_id/duplicate/post.md)

---

[API](https://skmtc.dev/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.dev/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/revisions/9c58c1c1e7e8/schema)
