AI content generation API for your apps
Generate social media posts, blog articles, and newsletters programmatically. One REST endpoint, Bearer auth, brand context on every request. Build content pipelines in minutes, not months.
curl -X POST https://supapost.ai/api/v1/content/generate \
-H "Authorization: Bearer sp_your_key" \
-H "Content-Type: application/json" \
-d '{
"type": "social",
"platform": "linkedin",
"topic": "Why API-first content wins"
}'What is a content generation API?
A content generation API is an HTTP endpoint that produces written content programmatically. Your application sends a topic, target platform, and content type; the API returns finished copy as JSON. It replaces the copy-paste loop between a writing tool and your publishing system with a single call your code can schedule, retry, and log.
supapost is a content generation API built for production use rather than experimentation. Brand voice, tone, audience, and content pillars live on the workspace, so every request inherits them without prompt engineering. Output is formatted for the target platform: character limits for X, paragraph rhythm for LinkedIn, caption and hashtag structure for Instagram.
API Features
One endpoint, every format
POST /api/v1/content/generate handles social posts, blogs, and newsletters. Set type and platform in the request body.
Bearer token auth
API keys scoped to workspaces. SHA-256 hashed storage. Revoke keys instantly from the dashboard.
Rate limit headers
X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset on every response. No surprises.
Auto brand context
Configure brand voice once. Every API call inherits your industry, tone, audience, and content pillars automatically.
Available endpoints
/api/v1/content/generate/api/v1/strategy/generate/api/v1/content/repurpose/api/v1/posts/api/v1/blogs/api/v1/newsletters/api/v1/usage/api/v1/images/generateAPI questions developers ask
What is an AI content generation API?
An AI content generation API is a REST endpoint that returns written content as structured JSON instead of rendering it in a browser. You send a topic, platform, and content type in the request body; the API returns a post, blog, or newsletter your code can store, review, or publish automatically.
How do I generate a LinkedIn post with an API call?
POST to /api/v1/content/generate with a Bearer token, then set type to "social", platform to "linkedin", and topic to whatever you are writing about. The response is JSON containing the post body, suggested hashtags, and variations. Brand voice is applied from your workspace, so no prompt engineering is needed.
What authentication does the supapost API use?
Bearer token authentication. Create an API key in the dashboard and send it as an Authorization header. Keys are scoped to a single workspace and stored as SHA-256 hashes, so a database leak never exposes a usable key. Revoke any key instantly from the dashboard.
What are the API rate limits?
Free allows 50 requests per day, Pro 500, and Agency 2,000. Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset headers, so your client can back off before it hits a 429. There are no overage charges: requests over the limit are rejected, never billed.
Is there a free tier for testing the API?
Yes. The free plan includes 50 API requests per day and 10 generated posts per month with no credit card. That is enough to integrate the endpoints, evaluate output quality against your brand voice, and ship a prototype before deciding whether to upgrade.
Can I use the API from n8n, Zapier, or Claude Code?
Yes. Any HTTP client works. n8n calls it with the HTTP Request node, Zapier and Make with a Webhooks action, and Claude Code with a curl call or an MCP tool wrapper. See the integrations page for worked examples of each pattern.
Start building today
Free tier: 50 API requests/day. No credit card required.