Coming with launch

The documents API
for the AI era.

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.

What you can do.

REST over HTTPS. Bearer-auth with personal or org API keys. JSON in, JSON out.

Documents

Create · read · update · delete.

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).

Folders + libraries

Organize the same way you do in the app.

Create folders, move docs, list libraries. Org members see org libraries; personal keys see only your personal library.

Search

Title + content search via query param.

Same full-text index the app uses. Scopes to the key's accessible content.

Sharing

Generate share links programmatically.

Turn a doc public, set an expiry, revoke. Issue per-doc invites by email with read / write / manage.

Auth

Personal keys and org keys.

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.

Limits

10,000 calls / month on Pro · 100,000 on Teams.

Bursts up to N requests / minute (TBD when limits are tuned). 429 + Retry-After on overflow.

Want to be first?

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.

Email us about API access See integrations

Until then.

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.

Open sweetdocs →