Publish article
publish_articleQueues an article for publishing to one of the website's connected integrations (WordPress, Shopify, Webflow, webhook...). When provider is omitted and exactly one integration is eligible it is used; otherwise the eligible options are returned. Eligibility: generated or failed-to-publish articles can go to any active integration; an article published in draft can only be re-pushed to its own CMS; a live article can only be re-sent to a webhook (use sync_article_to_cms to push edits to a CMS). Asynchronous: the publish runs in the background within a few minutes; poll get_article until status is published or the status label reads Failed to publish. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | Integration provider id (e.g. wordpress, shopify, webflow, webhook). Optional when only one is eligible. | |
| article_id | Yes | Article id from list_articles. | |
| website_id | No | Website id from get_account. Optional when the account has a single website. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | Always "queued": the publish runs in the background. | |
| provider | Yes | ||
| article_id | Yes |