Copy Markups
copy_markupsCopy all public WORKSPACE markups from a source document to a target document. Creates an independent copy while leaving the original intact.
Instructions
Copies all public WORKSPACE markups from a source document to a target document. The caller must hold ROLE_EDIT_PUBLIC_LAYERS and ROLE_EDIT_SHARED_MARKUP on the source document. By default the same roles are also required on the target document; this check is gated by the mms.markup-copy.target-permission-check-enabled flag and can be disabled per environment. The operation is atomic. company_id and project_id default to the values set by procore_set_config when omitted. Creates an independent copy and returns it (HTTP 201); the original is untouched. Failures come back as an error payload carrying the HTTP status — commonly 401 when the token has expired, 403 without tool permission, and 404 when an id does not resolve. Required parameters: company_id, project_id, source_item_id, target_item_id, item_type. Procore API (v2.0): Project Management > Document Markup. Endpoint: POST /rest/v2.0/companies/{company_id}/projects/{project_id}/markups/copy
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_type | Yes | JSON request body field — the item type for this Document Markup operation | |
| company_id | Yes | URL path parameter — unique identifier of the company | |
| project_id | Yes | URL path parameter — unique identifier of the project | |
| source_item_id | Yes | JSON request body field — unique identifier of the source item | |
| target_item_id | Yes | JSON request body field — unique identifier of the target item |