6 min readUpdated 2024-11-28
Content API
Generate marketing content using ContentForge AI.
Generate Content
POST /content/generate
Request body:
- type: blog_article, social_post, email, ad_copy, landing_page
- topic: Content topic
- length: Word count (for articles)
- tone: professional, casual, etc.
- keywords: Array of keywords
- target_audience: Description
Content Types
| Type | Description |
|---|---|
| blog_article | Long-form SEO content |
| social_post | Platform-specific posts |
| Email campaigns | |
| ad_copy | Advertising creative |
Social Post Options
Include platform (linkedin, twitter, etc.) and optional hashtags.
Ad Copy Options
Include platform, product, USP, and number of variants desired.
List Content
GET /content
Query generated content with filters.
Get Content
GET /content/{id}
Retrieve specific content by ID.