Skip to main content

Duplicate a document

POST 

/api/documents/:id/duplicate

Creates a new document from the last saved state of the source and returns it. The copy is in the same workspace as the source, has the caller as creator, and gets (copy) appended to the title. The body and icon are copied, and uploaded images are copied as new images so the two documents do not share files; shares are not copied. Requires a signed-in user with write access to the source; read-only callers get 403.

Request​

Responses​

The new document.