---
title: "Copy an element from a source document."
method: POST
path: "/elements/copyelement/{did}/workspace/{wid}"
tags: ["Element"]
---

# Copy an element from a source document.

`POST /elements/copyelement/{did}/workspace/{wid}`

Specify the target document and workspace in the URL. Specify the source document, workspace, and element in the request body. 
If `anchorElementId` is specified, the copied element will be inserted after the anchor element. If not specified, the copied element will be inserted at the end of the tab list.

## Path parameters

- `did` string, required
- `wid` string, required

## Response `default`

default response

---

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