/api/v1/documents/{slug}/copyCopy a document
Makes a copy of a document you can read, owned by you, with a new address, no password and no expiry. The copy is private unless the original is open to anyone with the link.
Path parameters
#slugstringRequiredThe document's address: the part after
markdrop.in/.
Headers
#X-Markdrop-Workspacestring
Request body
#application/json, required
read_passwordstringReaders must enter this password before they see the content. Up to 100 characters.
Responses
#201Created.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.
201 response: 37 fields (DocumentCreateResponse)
slugstringurlstringfolder_patharray of stringtitlestring | nullShown on the page and in link previews.
contentstringThe document's Markdown.
created_atstring (date-time)ISO 8601, for example
2026-11-30T12:00:00Z.updated_atstring (date-time)ISO 8601, for example
2026-11-30T12:00:00Z.expires_atstring (date-time) | nullISO 8601, for example
2026-11-30T12:00:00Z.viewsintegerDefault
0.is_password_protectedbooleanDefault
false.is_ownedbooleanDefault
false.is_ownerbooleanDefault
false.idstring | nullrefstring | nullgoogle_doc_urlstring | nullgoogle_doc_stalebooleanDefault
false.vscode_syncedbooleanDefault
false.encryptedbooleanSet by clients that encrypt in the browser:
contentandtitleare already ciphertext. The server never sees the key. Defaultfalse.kindstringDefault
"markdown".mimestring | nullrendererstring | nulltype_labelstring | nullsize_bytesinteger | nulloriginal_filenamestring | nullartifact_urlstring | nulldownload_urlstring | nullposter_urlstring | nullmediaobject | nullfile_versioninteger | nullworkspace_urlstring | nullaccess_levelstringWho can open it:
link(anyone with the link),private(only you and the people you share it with) orworkspace(members of its workspace). Default"link".workspace_idstring | nullcanobject | nullread_ticketstring | nullaccess_epochintegerDefault
0.edit_secretstringReturned once. Send it as
X-Edit-Secretto change or delete a document published without a token.workspace_errorstring | null