/api/v1/workspaces/{workspace_id}/documentsList workspace documents
Path parameters
#workspace_idstringRequiredThe workspace's id, from the address of its settings page (
markdrop.in/settings/workspaces/<workspace-id>) or from List workspaces.
Query parameters
#pageintegerPage number, from 1. At least 1. Default
1.limitintegerHow many to return. From 1 to 100. Default
20.per_pageintegerFrom 1 to 50.
qstringkindstringOne of
markdown,document,artifact. One ofmarkdown,document,artifact.folder_idstringThe folder's id, from List folders.
unfiledbooleanDefault
false.
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.
200 response: 8 fields (MyDocListResponse)
documentsarray of object30 fields inside
idstring | nullslugstringurlstringtitlestring | nullShown on the page and in link previews.
content_previewstringcreated_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.export_pdf_countintegerDefault
0.copy_url_countintegerDefault
0.is_password_protectedbooleanDefault
false.google_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 | nullworkspace_idstring | nullfolder_idstring | nullfolder_patharray of stringaccess_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".shared_with_countintegerDefault
0.shared_by_namestring | nullshared_by_emailstring | nullis_minebooleanDefault
true.
totalintegerpageintegerpagesintegerper_pageintegerDefault
20.count_allintegerDefault
0.count_markdownintegerDefault
0.count_artifactintegerDefault
0.