Write and schedule a post
posts_createPUBLISHES CONTENT: puts a post you wrote on the rail for one connected account (connections_list), at a time, in the account's next free queue slot, or now. Read platforms_list first for the platform's limits and settings schema. Free plan: 10 posts a day, and X only once a day without links, because X bills per post (402 free_daily_cap / free_x_daily_cap / free_x_link carry the reset time, a one-line pitch and a checkout URL to hand the human). Needs the publish scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The post text. | |
| audio | No | Instagram Reels only (exactly one video): a platform sound Instagram attaches at publish, by id from instagram_audio_search. Needs the Instagram account connected through Facebook Login; otherwise a 409 carries the connect link. | |
| queue | No | Instead of scheduledAt: the account's next free queue slot. | |
| title | No | The title; YouTube requires one. | |
| settings | No | Per-platform settings; the schema is platforms_list[].settingsSchema (TikTok privacyLevel, Reddit subreddit, YouTube privacyStatus, tags, defaultLanguage). | |
| mediaKeys | No | Media already in the account (assets_upload returns keys). | |
| inspiration | No | What the post was made from: {kind: format-card|topical-story|reference-post|brand, id, url?, mode?: clone|format|inspiration, memberId?}. For a copy of a reference, kind reference-post with the member id from references_list. | |
| scheduledAt | No | ISO time it goes out. Omit for now. | |
| connectionId | Yes | The account to post as (connections_list). | |
| firstComment | No | Posted as the post's own first reply the moment it is live. LinkedIn (1250), X (280), Bluesky (300). | |
| idempotencyKey | No | Any string unique to this one intended thing (a UUID you keep). A retry with the same key answers what the first call made, with replayed: true, and makes nothing new. Derive it from the thing, not the attempt, so every agent and every restarted run that means the same one sends the same key. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| error | No | ||
| status | Yes | ||
| handoffNote | No | ||
| scheduledAt | No | ||
| publishedLocation | No |