Update a post
update_postUpdates an existing unpublished post; omitted fields are preserved. Changing scheduled_at changes when it publishes publicly; publish_now publishes it immediately. Not idempotent when publish_now is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Omit to preserve the existing caption. | |
| post_id | Yes | ||
| media_ids | No | Previously uploaded media IDs. Omit on updates to preserve media. | |
| publish_now | No | Publish immediately instead of saving a draft. Requires workspace opt-in. | |
| scheduled_at | No | Future ISO-8601 timestamp including Z or an explicit offset. | |
| content_pillar | No | Exact content pillar name from list_social_accounts. | |
| platform_captions | No | Caption strings keyed by platform or platform:account_id. | |
| social_account_ids | No | Account IDs from list_social_accounts, not platform names. | |
| platform_configurations | No | Platform-specific settings keyed by platform. On updates, the fields you send are merged into the stored settings; omitted platforms and fields keep their values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Stable machine-readable error code. Present only for an error result. | |
| data | No | The workspace-scoped post. | |
| errors | No | Validation messages keyed by input field. | |
| issues | No | Structured validation issues. | |
| message | No | Safe error summary. Present only for an error result. | |
| retry_after | No | Seconds to wait before retrying a rate-limited request. |