Appearance
Duplicate Document
Duplicate an existing document, creating a new draft document with the same content. Requires the DOCUMENTS feature flag and ADMIN, CREATE_DOCUMENT, or MANAGE_DOCUMENTS permissions.
Parameters
| name * are required parameters | data type | description |
|---|---|---|
documentId* | string | The unique identifier of the document to duplicate |
Return Value
The newly created duplicate document in draft state.
Examples
bash
curl -X POST "https://app.wombat.software/api/{targetPath}/document/:documentId/duplicate" \
-H "Content-Type: application/json" \
-H "Authentication: Bearer ..."ENDPOINTS
post
/api/{targetPath}/document/:documentId/duplicate