PUT
/api/v1/workspaces/{workspace_id}/folders/{folder_id}/shareShare a folder
Creates a link to a folder. Each visitor sees only the documents they could already open: sharing a folder never changes any document's access. hidden lists what the link's audience can't see.
API token required60 per minute per IP
Guide: Share a folder
Code samples and Try itPath parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.folder_idstringRequiredThe folder's id, from List folders.
Request body
#application/json, required
level"link" | "workspace"Requiredlink: anyone with the folder link;workspace: members only. Each visitor still sees only the documents they could already open.
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.