Schedule a post
schedule_postSchedule a post to one or more connected accounts, with or without media. Instagram, TikTok, YouTube and Pinterest REQUIRE at least one media URL; X, LinkedIn, Facebook, Threads, Bluesky and Google Business accept text alone. Media is passed as a public https URL that the platform fetches when the post publishes — so it must still be reachable then, not just now. Per-platform validation is the same the app uses, so an over-length caption is refused rather than silently truncated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | The caption text. Optional when media is supplied. | |
| mediaUrls | No | Public https URLs of images or video to attach. Required for Instagram, TikTok, YouTube and Pinterest. Kind is inferred from the file extension; append #video or #image to a URL that has none. | |
| accountIds | Yes | Account ids from list_connections to publish to. | |
| scheduledAtUtc | No | When to publish, as an ISO-8601 UTC timestamp. Omit to save as a draft. |