POST
/api/v1/workspaces/{workspace_id}/items/addFile documents
Files documents you own into the workspace. Their access stays the same unless you send access.
Path parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.
Request body
#application/json, required
slugsarray of stringRequiredAddresses of documents you own. 1–200 items.
folder_idstringFile them in this folder. Leave it out for the top level.
access"link" | "private" | "workspace"Also change who can open them. Left out, their access doesn't change.
Responses
#200OK.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.