The headless delivery API
Read your published content over a simple JSON API to render it anywhere.
Use AI Blogr as a headless CMS: author in the dashboard, render anywhere via the read-only delivery API. It returns only published content and is scoped to your workspace by an API key.
Authentication
Send your key in the X-API-Key header. The API is read-only and CORS-enabled, so you can call it from a browser, a static site, or a mobile app.
Endpoints
GET /api/v1/public/posts— paginated list. Supportslimit,cursor,category,tag, andq(search).GET /api/v1/public/posts/:slug— a single post with SEO fields and JSON-LD.GET /api/v1/public/categoriesandGET /api/v1/public/tags— your taxonomy.GET /api/v1/public/sitemap— published URLs for your own sitemap.
Example
curl https://aiblogr.app/api/v1/public/posts \
-H "X-API-Key: YOUR_KEY"
Responses are cached and CDN-friendly for fast delivery.
Frequently asked questions
Does the API expose drafts?
No. The delivery API only ever returns published posts, scoped to the workspace that owns the API key.
Can I call the API from the browser?
Yes. It's read-only and CORS-enabled, so client-side calls from any origin work. Keep in mind the key grants read access to your published content.