Publish an article
publish_articlePublish a written article (e.g. a draft from draft_article) to the brand's connected CMS (WordPress, Shopify, Ghost, BigCommerce, webhook) or hosted blog, now, or schedule it for a later date (needs Autopilot ON). Goes live publicly. Preview first; confirm: true publishes and returns the URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Brand id, name or domain (from list_brands). Optional when the account has a single brand. | |
| confirm | No | Leave out (or false) to get a preview: nothing changes. Set true ONLY after the user approved that exact preview. | |
| platform | No | Optional: wordpress, shopify, ghost, bigcommerce, webhook, nextjs (hosted blog / Next.js feed) or api. Default: the CMS Autopilot uses (most recently connected). | |
| article_id | Yes | Article id from list_articles or get_article_performance. | |
| publish_at | No | Optional YYYY-MM-DD after today to schedule instead of publishing now (Autopilot must be ON). |