curl -X POST https://blogflux.ai/api/v1/posts \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"topic": "Benefits of AI in Content Marketing",
"keywords": ["AI", "content marketing", "automation"],
"word_count": 1500,
"ai_model": "gpt-5-mini",
"custom_instructions": "Write in a professional tone",
"images_count": 2,
"blog_connection_id": 123
}'
Need interactive documentation? Visit our Swagger/OpenAPI documentation to try the API directly in your browser.
Generate blog posts with multiple AI models: GPT-5, GPT-4.1, Claude 4.5 Sonnet, and more.
Automatically generate and insert relevant images into your posts using GPT Image models.
Publish to WordPress, webhooks, or any custom CMS via HTTP POST.
All generated content includes meta descriptions, keywords, and SEO-friendly slugs.
Full CRUD operations on posts and connections with predictable JSON responses.
Bearer token authentication with secure API key management.
/api/v1/posts
Generate a new AI-powered blog post with optional images
/api/v1/posts
List all generated posts with pagination (limit & offset params)
/api/v1/posts/:id
Retrieve a specific post by ID with full details
/api/v1/posts/:id
Update post title, content, metadata, or associated blog connection
/api/v1/posts/:id
Delete a post permanently from your account
/api/v1/posts/:id/publish
Publish post to connected WordPress site or webhook endpoint
/api/v1/blog_connections
List all your WordPress and webhook connections
/api/v1/blog_connections/:id
Get details of a specific blog connection
/api/v1/blog_connections
Create a new WordPress or webhook connection
/api/v1/blog_connections/:id
Update connection settings (URL, credentials, headers)
/api/v1/blog_connections/:id
Remove a blog connection from your account
/api/v1/blog_connections/:id/test
Test connection credentials and API accessibility
/api/v1/user
Get current user info, subscription plan, usage limits, and remaining quota
Sign up for a free account and get your API key to start building with BlogFlux.ai.
We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies. Learn more