Before you start
- A key with
posts:createandposts:update. Scheduling also needsposts:schedule, and publishing right away needsposts:publish. A key without those two can only save drafts. See Authentication. - The workspace’s
idfrom List workspaces and the accounts’ids from List accounts. Pick accounts whoseneeds_reconnectisfalse.
4815), its X account (16234) and its Instagram account (16235).
1. Save a draft
A draft is saved in PostSyncer and goes nowhere. Drafts don’t count toward the Free plan’s 20 posts a month.201 with the post (shortened here). Keep its id. Each account gets a row in platforms, with its own status:
media takes links, media library ids or both. A link is copied into the media library when the post is saved, so the post doesn’t depend on it later. See Add media to posts.
Instagram, TikTok and Pinterest need a picture or a video, and YouTube a video, before the post can be scheduled or published. So does a Google Business Profile gallery item. A draft can wait without one.
2. Schedule it
Update the post withschedule_type: "schedule" and a time. The update sends the full content again. Fields you leave out, such as accounts, keep what the post has.
schedule_foris read in the workspace’s timezone. To give this post’s time in another zone, addtimezoneinside it:"schedule_for": { "date": "2030-03-15", "time": "09:00", "timezone": "America/New_York" }. Atimezoneoutsideschedule_foris ignored. It never changes the workspace’s timezone.- The time must be in the future, or the answer is
422. - With
scheduleand noschedule_for, a new post takes the workspace’s next free queue time. An update keeps the post’s time while it’s still ahead, and takes the next free queue time only when that time has passed. - When no queue time is free,
schedulewith noschedule_forand no time ahead answers422onschedule_for:There are no available queue slots to schedule to. Send schedule_for with a date and time, or add queue times to the workspace.Nothing is saved. If the key’s person can’t publish, the post is sent for approval instead, with the time it has, or none on a new post: the approver picks when it goes out. - On Free, the post counts toward the 20 a month now. See Plan limits.
SCHEDULED, with scheduled_at set to 2030-03-15 09:00.
3. Or publish it now
"schedule_type": "publish_now" sends the post right away, and the answer’s status is IN_QUEUE. It can’t be undone: deleting the post later doesn’t remove it everywhere. See Test safely before you try it on a real audience.
If the key’s person can’t publish in that workspace, schedule and publish_now don’t send anything. The post waits as PENDING_APPROVAL. See Approve posts.
Threads and first comments
content is a list of items. The first item is the post.
- More items make a thread on X, Threads, Bluesky and Mastodon. Every other network gets the items joined into one text.
- One item can be a first comment, with
"is_first_comment": true. It goes under the post on Facebook, Instagram, LinkedIn and YouTube, and at the end of the thread on X, Threads, Bluesky and Mastodon. TikTok, Pinterest, Telegram and Google Business Profile have no first comment. first_comment_delayis the wait in minutes after the post goes out:1when you leave it out, up to10080(7 days).
Settings for each network
Each account inaccounts can carry settings for its network: a Pinterest board, TikTok privacy, a YouTube title, an Instagram Reel or Story. A network’s settings you leave out take their defaults.
board_id: read the account with Get account and take an id from its boards. Without one, the pin goes to the account’s first board, or to a new My Pins board if it has none. Create a post lists every setting, and Platforms has each network’s rules.
Repeat a post
A post can go out again on a schedule. Send these with the post:
Repeats work on every plan. On Free, each repeat counts as a post when it goes out, and a repeat due after the 20 are used fails. To stop repeating, update the post with
"repeatable": false.
Check how it went
Read the post with Get post. The post’sstatus follows its rows:
PUBLISHED: every row is live. Each row haspost_urlandanalytics.PARTIALLY_FAILED: some rows are live and some failed.FAILED: every row failed. AFAILEDrow haserror_message, the reason in plain words.
IN_PROGRESS, its progress says what it’s doing, such as preparing a video. A row’s notes lists what went partly wrong in a published post, such as a thread item that wasn’t posted. Core concepts has every status.
You don’t have to poll. Subscribe a webhook to post.published, post.partially_published and post.failed, or to post.account_published and post.account_failed for each account. Webhook events shows what each one carries.
Post history lists who changed the post, what and when, newest first.
Send failed accounts again
Fix the cause first. If the account needs reconnecting, reconnect it (see Connect accounts). If the network refused the media, change it. Then update the post with"schedule_type": "publish_now", or with schedule and a new time. Only the rows that failed go out again. Rows already published aren’t sent twice, and on Free a post sent again doesn’t count twice.
Edit without moving the time
Leaveschedule_type out of an update to keep when the post goes out. What happens depends on the post’s status:
- If the key’s person can’t publish, an edit to a
SCHEDULEDpost answers403, and nothing is saved:This post is already approved and scheduled. Changing it needs a new approval: make your changes and use Request approval. Here, send the change with schedule_type: schedule to ask for a new approval.Send the change with"schedule_type": "schedule"and the post goes back toPENDING_APPROVALfor a new approval. See Approve posts. - If the key’s person can’t publish, an edit to a
PUBLISHED,PARTIALLY_FAILEDorFAILEDpost with repeats ahead answers403too. "schedule_type": "schedule"or"publish_now"on aPUBLISHEDpost answers409withThis post is already published.- Send
content_versionfrom your last read. If someone changed the post since, the update answers409with"error": "post_changed_elsewhere"instead of overwriting their edit.
Delete a post
Delete post removes the post from PostSyncer for good. For each account it was published to, PostSyncer asks the network to delete it, except on Instagram and TikTok, where nothing is asked: delete it there yourself. On X, Threads, Bluesky and Mastodon only a thread’s first post is deleted. Test safely has the table, and what happens when a network refuses. A deleted post can’t be put back.With MCP
The MCP tools do the same, with the same permissions:create-post, update-post, get-post, list-posts, delete-post and get-post-history. With update-post, leave schedule_type out unless the user asked to change when the post goes out. See the MCP tools reference.
Related
Create a post
Every field of a post request.
Add media to posts
Upload files, import links and use the library.
Approve posts
Posts that wait for someone who can publish.
Test safely
Drafts, draft-only keys and what can’t be undone.