curl -X POST https://mder.pro/v1/documents \
-H "Authorization: Bearer mder_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Weekly Summary",
"blocks": [{
"id": "blk_1",
"type": "markdown",
"content": "# Weekly Summary\n- Revenue up 12%\n- 3 new clients"
}],
"access_policy": {
"mode": "unlisted",
"ttl_hours": 168
}
}'// Response
{
"document_id": "doc_8f2d4a...",
"viewer_url": "https://mder.pro/d/ab12cd",
"status": "published",
"expires_at": "2026-04-26T15:00:00Z"
}Schema-driven, API-first, and built for machine-to-human document handoff.
Structured JSON schema, tool-based actions, and resource URIs. Built for agents from day one.
One API call creates a hosted document with a clean shareable link. No extra steps.
Unlisted links, password protection, TTL expiration, view limits, and revocation built in.
Idempotency keys prevent duplicates from agent retries. Structured errors for reliable automation.
Draft, published, expired, revoked, archived. Documents have explicit states and transitions.
View counts, export tracking, and usage metering from day one. Know how your documents perform.
Your agent calls the API with a structured document payload. Title, blocks, access policy.
MDER stores, renders, and returns a clean viewer URL and document ID instantly.
Hand the link to a human, post it in Slack, embed it in email, or chain it to another agent.
REST endpoints with structured schemas, idempotency, versioning, and MCP tool support.
/v1/documents/v1/documents/:id/v1/documents/:id/raw/v1/documents/:id/v1/documents/:id/publish/v1/documents/:id/revoke/v1/documents/:id/exports/v1/capabilitiesStart free. Upgrade when you need more.
For experimentation and personal use
For teams and production workloads
Create your free account and publish your first document in under 2 minutes.
Start building