update_blog_article
Edit a blog article's title, content, SEO fields, images, author, category, or CTA, and set status to published to make it live on your PostKing blog.
Instructions
Edit a blog article — title, content, excerpt, SEO fields, status, author, category, featured/header image, or CTA. Set status='published' to make it live on your PostKing blog. CTA (call-to-action) is structured data, NOT part of the article body — never write CTA markup into content. Use cta: { url, label, headline, body } to set it (url is required when enabling), or cta: { enabled: false } to remove it. cta and sidePageInfo are mutually exclusive — pass sidePageInfo only if you need to link to an existing side page by id/slug (from list_side_pages) instead of a raw url; either way, malformed CTA shapes are now rejected by the server rather than silently persisted, so pass exactly the documented fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cta | No | Set or clear the article's CTA block. Mutually exclusive with sidePageInfo. | |
| title | No | ||
| status | No | 'published' makes it live on your blog | |
| brandId | No | Brand ID (uses active brand if omitted) | |
| content | No | Full post body (HTML or markdown). Do not put CTA content here — use the `cta` field. | |
| excerpt | No | ||
| authorId | No | Author ID (from list_blog_authors) | |
| articleId | Yes | Blog article ID | |
| metaTitle | No | ||
| categoryId | No | Category ID (from list_blog_categories) | |
| sidePageInfo | No | Full CTA object (advanced). Must include at least one of id/slug/ctaHref. Pass null to clear the CTA. Mutually exclusive with cta. | |
| metaDescription | No | ||
| featuredImageAlt | No | Alt text for the featured/header image | |
| featuredImageUrl | No | The header/featured image — pass an image URL, a brand-asset path (the `fileUrl` from list_assets), an uploaded asset path, or a data: URI; external URLs are auto-downloaded when the article is published; pass an empty string to remove the current image. | |
| featuredImageDescription | No | Description/caption for the featured/header image |