Fetch your generated markdown directly into your CMS, build pipeline, or custom application with a simple REST API.
Bearer Token required
All API requests must be authenticated using your unique API key in the header. Keep this key secret.
All endpoints start here
https://mrakdon.com/api/v1curl https://mrakdon.com/api/v1/documents/doc_12345 \
-H "Authorization: Bearer mk_live_8f3a..."{
"id": "doc_12345",
"title": "My Awesome Blog Post",
"type": "blog",
"version": 2,
"content": "# Hello World\n\nThis is my generated markdown...",
"timestamps": {
"created": "2024-01-20T10:00:00Z",
"updated": "2024-01-21T15:30:00Z"
}
}idStringUnique identifier for the document.
contentMarkdownThe raw generated markdown content.
typeEnumblog | readme | docs | tutorial
versionIntegerCurrent version number of the doc.
timestampsObjectISO 8601 dates for creation/updates.
Your API key is missing or invalid.
Document ID does not exist.
Too many requests. Slow down.