---
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

---

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