create_posts_batch
Create 1-25 scheduled or immediate social posts in one API request. DESTRUCTIVE WRITE: show the user every post's account/platform, caption or thread text, scheduled time, media, settings, and workspace, then get explicit confirmation for the whole batch before calling. Third-party media URLs are copied into posterly storage before each post is saved. Partial success is possible; failed items return their array index. On an error or lost reply, retry with the same keys; a repeat within 10 minutes returns the original posts (deduplicated: true). TikTok items without privacy_level post directly using the saved default or public (tiktok_audience_defaulted); post_mode inbox sends to the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posts | Yes | ||
| confirm | Yes | Must be true after the user explicitly confirms every post in the batch. | |
| idempotency_key | No | Optional batch retry key. Reuse it if the response is lost. A per-item idempotency_key wins. |