Appearance
Create blog post
POST
/api/v1/projects/{project_id}/blog-posts
Creates a new blog post and triggers AI generation via a background job.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Parameters
Path Parameters
project_id*
Type
Requiredstring
Format
"uuid"Request Body
application/json
JSON
{
"post_type": "string",
"topic": "string",
"source_item_ids": [
"string"
],
"wp_category_ids": [
0
],
"template_id": "string",
"ai_settings": {
}
}
Responses
Successful Response
application/json
JSON
{
"id": "string",
"project_id": "string",
"organization_id": "string",
"title": "string",
"content": "string",
"excerpt": "string",
"slug": "string",
"status": "string",
"post_type": "string",
"topic": "string",
"featured_image_url": "string",
"seo_meta": {
},
"wp_post_id": 0,
"wp_category_ids": [
0
],
"published_url": "string",
"published_at": "string",
"scheduled_at": "string",
"source_item_ids": [
"string"
],
"product_links": {
},
"ai_settings": {
},
"template_id": "string",
"analytics": {
},
"job_id": "string",
"created_at": "string",
"updated_at": "string"
}