Schedule a post
posts_scheduleCreate a post and queue it for every account named. Pass draft true to hold it here instead, sending nothing until posts_update promotes it. Name accounts with ids from accounts_list, or name a group from groups_list and get all of its members — the two combine, and a group is expanded now, so adding an account to it later does not add it to this post. Accounts must all be in one workspace. Attach media by id from media_list; a post is either a video or a set of images, never both. Omit scheduled_at to send as soon as possible. Nothing publishes yet: this records the intent. Publishing has to be enabled on the account; where it is not, this saves nothing at all and says so. Do not tell anyone their post is saved or scheduled until this has returned successfully.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft | No | Hold the post here instead of sending it. Nothing is queued and nothing reaches any platform; use posts_update with draft false to send it. Unrelated to the per-platform draft option, which uploads to the platform for the creator to finish. | |
| groups | No | Group names from groups_list, expanded to their members and combined with account_ids. Matched without regard to case. | |
| content | No | The caption. | |
| media_ids | No | Files to attach, in order. Order is the slideshow order. | |
| account_ids | No | Which accounts to post to, from accounts_list. Optional when groups is given; naming neither is refused. | |
| scheduled_at | No | ISO 8601. Omit to send as soon as possible. | |
| idempotency_key | No | Reuse on retry to avoid posting twice; returns the original post. | |
| platform_options | No | Per-platform settings, keyed by platform. Only the keys shown are accepted — an unknown key is refused rather than ignored. The names, types and accepted values are here; call platforms_list for what each one does, its default, and which kind of post it applies to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes |