Create a post
create_postCreate a new blog post in VeloCMS, either saved as a draft or published right away with automatic timestamp.
Instructions
Creates a new blog post. Defaults to status=draft — pass status=published to publish immediately (stamps published_at automatically), or create as a draft and call publish_post once you're ready. Requires the posts:write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Auto-generated from title if omitted. | |
| tags | No | ||
| title | Yes | Post title. Required. | |
| status | No | draft (default) or published. Publishing here stamps published_at automatically — or create as draft and call publish_post later. | |
| excerpt | No | ||
| seoTitle | No | SEO meta title, max 60 chars. | |
| contentHtml | No | Post body as HTML. | |
| contentJson | No | TipTap ProseMirror JSON document (arbitrary structure). Prefer contentHtml unless you specifically need to write a ProseMirror document. | |
| seoDescription | No | SEO meta description, max 160 chars. |