Programmatic access to every doc, folder, and library — at personal scope and at org scope. Built for Zapier, n8n, automation scripts, and whatever the next AI editor turns out to be.
REST over HTTPS. Bearer-auth with personal or org API keys. JSON in, JSON out.
POST a new doc with title + Markdown body. GET by id. PATCH the title or body. DELETE moves to the soft-delete bin (same 30-day grace as the UI).
Create folders, move docs, list libraries. Org members see org libraries; personal keys see only your personal library.
Same full-text index the app uses. Scopes to the key's accessible content.
Turn a doc public, set an expiry, revoke. Issue per-doc invites by email with read / write / manage.
Personal keys act on your personal library. Org keys (admin-issued) act on any library the org owns. Both are revocable from the app at any time.
Bursts up to N requests / minute (TBD when limits are tuned). 429 + Retry-After on overflow.
The API is on the path to launch. Drop your email at support@sweetdocs.app and we'll let you know the moment keys are mintable.
You can already wire automation to sweetdocs through the editor itself — paste from any AI, drag in files, export to any format. The API just makes the same flows scriptable.