---
title: "POST /api/document/{from-document-id}/copy"
method: POST
path: "/api/document/{from-document-id}/copy"
tags: ["/api/document"]
---

# POST /api/document/{from-document-id}/copy

`POST /api/document/{from-document-id}/copy`

Copy a Document.

## Path parameters

- `from-document-id` integer, required

## Request body

- object
  - `collection_id` integer, nullable — value must be an integer greater than zero.
  - `collection_position` integer, nullable — value must be an integer greater than zero.
  - `name` string, nullable

## Response `2XX`

Successful response

- MetabaseDocumentsSchemaDocument — Schema for an instance of a `:model/Document`.
  - `id` integer, required — Valid Document ID

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
