Sync article to CMS
sync_article_to_cmsPushes the current content of a published (or published-in-draft) article to every connected CMS, clearing its Out of Sync state. Synchronous: returns once the CMS accepted the update (a few seconds; Shopware, Umbraco and BigCommerce finish in the background). Fails for articles that are not on a CMS yet: publish those with publish_article. Framer and webhook connections are never synced. Pass website_id when the account has several websites (see get_account).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
|---|---|---|---|
| slug | Yes | ||
| locale | Yes | Translation locale the change applied to; null for the default-language article or a field shared by every locale. The other fields always describe the default-language article. | |
| status | Yes | Raw status; status_label is the human reading. | |
| message | Yes | What changed, e.g. "Headline updated for the fr version." | |
| headline | Yes | ||
| article_id | Yes | ||
| created_at | Yes | ||
| preview_text | Yes | First 200 characters of the body. | |
| published_at | Yes | ||
| status_label | Yes | Status as shown in the app, e.g. Published, Draft on CMS, Failed to publish. | |
| is_out_of_sync | Yes | Edited since the last push to the CMS; sync_article_to_cms clears it. | |
| main_image_url | Yes | Cover image URL. | |
| target_keyword | Yes | ||
| meta_description | Yes |