Blog API
Manage blog posts, categories, settings, and content revisions programmatically.
Get your API keyBlog Posts
/api/v1/projects/{project_id}/blog/posts/
List blog posts.
Filters: ?category={id}&status=published
{
"success": true,
"posts": [
{
"id": "uuid",
"title": "10 Tips for Better SEO",
"slug": "10-tips-better-seo",
"excerpt": "Learn the top strategies...",
"is_published": true,
"featured_image_url": "https://...",
"category": {"id": "uuid", "name": "SEO"},
"tags": ["seo", "content"],
"meta_title": "10 SEO Tips",
"post_url": "https://mysite.escalateflow.com/blog/10-tips-better-seo/",
"published_at": "2026-04-01T10:00:00Z"
}
],
"count": 15
}
/api/v1/projects/{project_id}/blog/posts/
Create a blog post. A post is a draft unless you send "status": "published" (or "is_published": true); pages, by contrast, are published by default.
tags: a list of strings. There is no tag endpoint; each tag gets its page at/blog/tag/<slug>/.meta_title: up to 70 characters.meta_description: up to 160 characters.- Other fields:
featured_image_url,author_nameandlocale.
{
"title": "10 Tips for Better SEO",
"slug": "10-tips-better-seo",
"content": "<article>...</article>",
"excerpt": "Learn the top strategies",
"status": "published",
"category_id": "uuid",
"tags": ["seo", "content"],
"featured_image_url": "https://cdn.example.com/seo.jpg",
"meta_title": "10 SEO Tips",
"meta_description": "Discover proven SEO strategies"
}
/api/v1/projects/{project_id}/blog/posts/{post_id}/
Get, update, or delete a blog post.
Blog Categories
/api/v1/projects/{project_id}/blog/categories/
List or create blog categories.
{
"name": "SEO",
"slug": "seo",
"description": "Search engine optimization tips"
}
/api/v1/projects/{project_id}/blog/categories/{category_id}/
Update or delete a blog category.
Blog Settings & Pages
/api/v1/projects/{project_id}/blog/settings/
Get or update blog settings. The blog is off until you set "is_enabled": true.
Public URLs:
/blog/: the index;/blog/<post slug>/: a post;/blog/category/<slug>/: a category;/blog/tag/<slug>/: a tag.
The settings return the absolute blog_url and each post its post_url. show_tags shows the tags on posts.
{
"is_enabled": true,
"blog_title": "Our blog",
"show_tags": true,
"posts_per_page": 10,
"show_author": true
}
/api/v1/projects/{project_id}/blog/page/
Get or update blog listing page HTML.
/api/v1/projects/{project_id}/blog/post-template/
Get the blog post template.
Blog Post Versions (Revisions)
Content revisions are automatically created when a blog post's content changes. Max 20 versions per post.
List Versions
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/
Returns all saved versions for a blog post, newest first.
{
"success": true,
"versions": [
{
"id": "uuid",
"title": "My Blog Post",
"label": "Auto-save 2026-04-03 14:30",
"content_hash": "sha256...",
"content_preview": "First 200 chars...",
"created_at": "2026-04-03T14:30:00Z"
}
],
"count": 5
}
Restore Version
/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/{version_id}/restore/
Restores the post's title, excerpt, and content from the selected version. A new version is auto-created after restore.