# Markfolio > Markdown in, a beautiful shareable link out. Markfolio turns Markdown into a > polished, stable document page. Built for AI agents: publish a deliverable and > hand back a clean URL in one API call. ## API - Base URL: https://markfolio.round6.co/api/v1 - Auth: Authorization: Bearer - OpenAPI: https://markfolio.round6.co/openapi.json - Human docs: https://markfolio.round6.co/docs ### Publish a document POST https://markfolio.round6.co/api/v1/documents Body: {"markdown": "# Title\n...", "visibility": "private"} (may include leading YAML frontmatter: title, slug) Returns id, stable url, owner_id and effective visibility. Private requires the signed-in owner in the browser. ### Discover capabilities GET https://markfolio.round6.co/api/v1/me Returns this key's owner (id/email), scopes, tier, request limit, retention policy, and private_documents feature flag. Verify the owner matches the intended browser account before writing. ### Manage documents GET https://markfolio.round6.co/api/v1/documents List/search/filter documents GET https://markfolio.round6.co/api/v1/documents/{id} Read a document PATCH https://markfolio.round6.co/api/v1/documents/{id} Update markdown/title/slug/folder DELETE https://markfolio.round6.co/api/v1/documents/{id} Delete a document ### Images (upload is Pro) POST https://markfolio.round6.co/api/v1/images Upload raw PNG/JPEG/GIF/WebP bytes (max 10 MiB; 1 GiB per account); returns url + markdown GET https://markfolio.round6.co/api/v1/images List your newest 200 images DELETE https://markfolio.round6.co/api/v1/images/{id} Delete an image ### Read a public document without a key GET https://markfolio.round6.co/raw/{slug}.md Raw Markdown GET https://markfolio.round6.co/raw/{slug}.json Title, url, markdown, and expiry state ### Markdown extras GitHub-flavored Markdown plus `> [!NOTE]` callouts, `:::details Title` blocks, `$$…$$` math, `mermaid` code fences, and inline glyphs from Lucide (https://lucide.dev/icons): `:icon[rocket]`, or `:icon[circle-check]{label="Done"}` when the glyph carries meaning. Unknown glyph names render as literal text. ## Notes - Set visibility: private explicitly for confidential API creation. Legacy API defaults public; new MCP creates default private. Omitted PATCH/replay visibility preserves the stored value. - Private is owner-only. Workspace membership grants no access. published controls online/offline independently. - Free links expire after 60 days and remain privately recoverable for 30 more days; Pro links are permanent. - Custom slugs and content edits via API require Pro. - Reads return a strong ETag. Send it in If-Match for conflict-safe updates. - On 412 precondition_failed, re-read the document, reconcile, and retry. Unconditional clients remain temporarily supported. - Creating with external_id works on Free; re-publishing the same external_id requires Pro and supports If-Match. Use If-None-Match: * for create-only behavior. - Pagination includes has_more and next_offset. Exact total is opt-in with include_total=true. - Filters: q, folder_id, publish_status, expiry_status. - Rate limit per account: 30 requests/minute on Free, 120 requests/minute on Pro.