/api/v1/workspaces/{workspace_id}/foldersCreate a folder
Creates a folder at the top level, or inside another folder with parent_id. If a folder, page, document or file there already has the folder's address, it returns 409 saying what holds it and creates nothing (an item you can't open is never named and never blocks you: the folder takes the next free address); send on_conflict: "suffix" to take the next free address (guides-2) instead.
Guide: Folders
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.
Request body
#application/json, required
namestringRequired1–80 characters.
parent_idstringCreate it inside this folder. Leave it out for the top level.
on_conflict"error" | "suffix"When the folder's address is already taken where it goes:
error(default) returns 409 saying what holds it;suffixtakes the next free address (name-2, name-3…). Default"error".
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: 8 fields (FolderResponse)
idstringworkspace_idstringnamestringparent_idstring | nullcreated_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.slugstringDefault
"".patharray of string