Credit cost: Short blog = 10 credits, Long blog = 30 credits. Credits are deducted when generation starts. Make sure your balance is sufficient before calling this endpoint.
Generate a blog post
Request body
The blog post topic or working title. Be specific — a focused topic produces better results than a broad one.
Your brand name. Used to align tone, include brand-relevant references, and ensure the content supports your visibility goals.
Blog length. One of
"short" (800–1,200 words, 10 credits) or "long" (2,500–4,000 words, 30 credits).Response
Unique identifier for this blog document.
Generation status:
"completed", "pending", or "failed".The full blog post in markdown format, ready to paste into your CMS or publish directly.
ISO 8601 timestamp.
Retrieve the latest blog
Use this endpoint to fetch the most recently generated blog for your account without needing theid.
Error responses
| Status | Code | Meaning |
|---|---|---|
| 401 | UNAUTHORIZED | Missing or invalid Bearer token |
| 402 | INSUFFICIENT_CREDITS | Not enough credits for the chosen length |
| 400 | VALIDATION_ERROR | Missing required fields (topic, brandName, length) |
| 500 | GENERATION_FAILED | Content generation failed; retry the request |