Blog Posts
Long-form content creation for multi-platform publishing.
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/blog | List blog posts |
| POST | /api/blog | Create post |
| GET | /api/blog/:id | Get post |
| PUT | /api/blog/:id | Update post |
| DELETE | /api/blog/:id | Delete post |
| POST | /api/blog/:id/publish | Publish to destination |
Data Model
prisma
model BlogPost {
id String
companyId String
authorId String
title String
slug String
content String // Markdown or HTML
excerpt String?
featuredImage String?
status String // 'draft', 'published'
publishedAt DateTime?
seo Json? // Meta title, description
tags String[]
destinations BlogDestination[]
}Publishing Destinations
Supports publishing to:
- WordPress (REST API)
- Medium (API)
- Ghost (Admin API)
- Webflow (CMS API)
- Custom (webhook)
SEO Features
- Meta title/description
- Open Graph tags
- Twitter cards
- Schema.org markup
- Canonical URL
AI Integration
- Generate post from topic
- Improve/rewrite content
- Generate title variations
- SEO optimization suggestions