MisarMisar Docs
MisarMailMisarBlogMisarReachMisarPostMisarDevMisarCoderMisarSEOMisar PlatformMisar SSO
API Reference

API Overview

MisarBlog REST API — publish articles, manage content, and integrate AI tools programmatically.

The MisarBlog REST API lets you publish articles, manage drafts, generate AI images, pull analytics, and build AI-powered writing tools — all from your own code.

Base URL: https://api.misar.io/blog/v1

Quick Start

curl https://api.misar.io/blog/v1/me \
  -H "Authorization: Bearer mbk_YOUR_KEY"

Authentication

All requests require a Bearer token in the Authorization header:

Authorization: Bearer mbk_YOUR_API_KEY

Get your API key from Dashboard → Settings → API Keys. Keys start with mbk_.

Endpoints

Profile

MethodEndpointDescription
GET/meGet your creator profile

Articles

MethodEndpointDescription
GET/articlesList your articles
POST/articlesPublish or schedule an article
GET/articles/{slug}Get a single article
PATCH/articles/{slug}Update or publish a draft

Drafts

MethodEndpointDescription
POST/draftsSave an article as a draft

Series

MethodEndpointDescription
GET/seriesList your series
POST/seriesCreate a series
POST/series/{slug}/articlesAdd an article to a series

Images

MethodEndpointDescription
POST/images/uploadUpload an image to CDN
POST/images/generateGenerate a cover image with AI

Analytics

MethodEndpointDescription
GET/analyticsGet views, revenue, and subscriber stats

Search & Recommendations

MethodEndpointDescription
GET/searchSearch articles, profiles, and tags
GET/recommendationsSemantically similar public articles

Reactions

MethodEndpointDescription
GET/reactionsReaction counts + your own reactions
POST/reactionsAdd or toggle a reaction
DELETE/reactionsRemove a reaction

AI

MethodEndpointDescription
POST/ai/titlesGenerate title suggestions
POST/ai/completeGeneric system + user prompt completion

Plan & Trial

MethodEndpointDescription
GET/planLive plan, quota, and upgrade info
GET/trialSelf-serve trial status
POST/trialStart the self-serve trial

API keys are minted from the dashboard (Settings → API Keys), not via the developer API — see API Keys & Scopes. /ai/research is a session-authenticated SSE stream used by the editor; it is documented under AI Tools but is not part of the Bearer mbk_... surface.

Response Format

All responses return JSON.

Success:

{ "id": "...", "slug": "...", "title": "..." }

Error:

{ "error": "Human-readable message" }

Rate Limits

All /blog/v1/* endpoints are limited to 100 requests per minute per API key.

When exceeded, the API returns 429 Too Many Requests:

{ "error": "Rate limit exceeded — 100 req/min" }

OpenAPI Spec

Machine-readable spec available at:

GET https://api.misar.io/blog/v1/openapi.json