---
title: "Copy a Document"
method: POST
path: "/documents/{id}/copy.json"
tags: ["Documents"]
---

# Copy a Document

`POST /documents/{id}/copy.json`

Copies the latest document version of a Document into a new Document. The parameters `filename` and `name` will be copied from the source Document if none are provided.

## Path parameters

- `id` integer, required

## Query parameters

- `fields` string

## Request body

- object
  - `data` object, required
    - `communication_id` integer — Related communication record.
    - `document_category` object
      - `id` integer — The unique identifier for a single DocumentCategory associated with the Document. Use the keyword `null` to specify no association.
    - `external_properties` object[]
      - `id` integer — The unique identifier for a single ExternalProperty associated with the Document. The keyword `null` is not valid for this field.
      - `name` string — The ExternalProperty name. Note: **there is a limit of 5 external_properties per Document**
      - `value` string — The ExternalProperty value.
      - `_destroy` boolean — The destroy flag. If the flag is set to `true` and the unique identifier of the associated ExternalProperty is present, the ExternalProperty is deleted from the Document.
    - `filename` string — Name of the original file.
    - `name` string — Document name.
    - `parent` object, required
      - `id` integer, required — The unique identifier of the parent object.
      - `type` 'Document' | 'Folder' | 'Contact' | 'Matter', required — Type of parent object: * "Document" represents an existing Clio document. It is specified when you provide a new revision (or document version) to an existing document. * "Folder" represents a specified folder on Clio by folder id. It if specified when you add / move an item to a folder. * "Contact" represents a contact folder on Clio identified by contact id. It is specified when you add / move an item to a contact folder. A contact folder will be created for the specified contact if none exists already. * "Matter" represents a matter folder on Clio identified by matter id. It is specified when you add / move an item to a matter folder.
    - `received_at` string, date-time — Date and time the document was received (Expects an ISO-8601 timestamp).

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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