Create a post
Save a draft, schedule a post, or publish it now on one or more accounts.
posts:create. schedule also needs posts:schedule, and publish_now also needs posts:publish. A key with only posts:create can save drafts and nothing else, which makes it a safe key for tests and agents. See Permissions.content and a schedule_type. draft saves the post and sends nothing. schedule sends it at schedule_for, or at the workspace’s next free queue time without it; when no queue time is free, that is refused with 422 under schedule_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.”) and no post is made. publish_now sends it at once, and that can’t be undone.
The answer is the post as saved (the post object) plus skipped_accounts, the accounts left out of it (see Accounts that need reconnecting and Default accounts the plan leaves out), and needs_media, the accounts that still need a photo or video (see Networks that need a photo or video). The whole request is checked before anything is saved, so a 403 or 422 saves nothing.
Send an optional Idempotency-Key header (up to 128 characters, kept for 24 hours per user) so retrying after a network timeout or deploy returns the originally created post (200 with Idempotency-Replayed: true) instead of creating a duplicate. A key belongs to one request body: send a new key for each new post. The order of the body’s fields doesn’t matter.
422, 403, 500) holds no key, so you can fix it and send it again with the same key.
A workspace’s default auto-repost and default auto-plug apply only to posts made in the PostSyncer app. A post made through the API or MCP doesn’t get them: send repeatable (with its times and gap) or auto_plug yourself.
Free plan
On the Free plan a workspace owner gets 20 posts a month, counted from their sign-up day. A post counts once, when it is first scheduled, published or sent for approval; editing it or sending it again doesn’t count again. Drafts are free. Each repeat of a repeating post counts when it goes out, and a repeat that goes out after the month’s 20 are used fails when it is sent. Past 20, the post is refused with403, error: plan_limit_reached and limit: posts, and resets_at says when the count starts again. Labels and campaigns are on paid plans: on Free a post with labels or a campaign_id is refused with limit: labels or limit: campaigns. Outside a first week, a Free owner’s new posts go to 2 accounts: a scheduled or published post that names another account in accounts (its plan_allows_posting is false) is refused with limit: free_accounts. Leave that account out, or save a draft. See Plan limits.
Roles
The key acts as its person, with their role in the post’s workspace. Someone whose role can’t publish (a content creator) can still sendschedule or publish_now: the post is sent for approval instead (PENDING_APPROVAL), and someone else approves it. Sent with no schedule_for when no queue time is free, it waits for approval with no time, and the approver picks when it goes out. A client can’t create posts (403).
First comments
Add a content part withis_first_comment: true to post it after the post goes out, the way the composer does. It is left out of the post itself.
- On Instagram, Facebook, LinkedIn and YouTube it is a comment on the post.
- On X, Threads, Bluesky and Mastodon it is a reply under the thread’s last part.
- On Slack and Discord it is a reply in the message’s thread.
- The other networks don’t get it. Put anything every network needs, like a link, in the post itself.
first_comment_delay is the wait in minutes: 1 when left out, up to 10080 (7 days). On X, Threads, Bluesky, Mastodon, Slack and Discord, 0 posts it as the thread’s next reply while the post goes out.
is_first_comment go out as a thread; on Slack and Discord, as replies in the message’s thread. The other networks get the parts joined into one text, with two blank lines between them (the first comment left out).
Media
A part’smedia takes media library ids, public URLs, or both.
- A URL is copied into the media library when the post is saved, so a signed or expiring link is fine.
- Dropbox and Google Drive share links work when anyone with the link can view the file. A folder link is refused.
- A URL that can’t be downloaded, isn’t an allowed type, is over 500 MB or takes longer than 75 seconds is refused with
422naming it. - Documents (PDF, DOC, DOCX, PPT, PPTX) go to LinkedIn, one per post, listed first, and to Slack with the post’s other files. Discord takes PDFs.
- X, Instagram and Threads take up to 20 files in all, Telegram, Slack and Discord up to 10. X, Instagram, Threads, Telegram, Slack and Discord can mix photos and videos in one post; the other networks take photos or one video.
- Discord takes up to 24.5 MB (25,690,112 bytes) of files in one message, all files together.
- A draft doesn’t need media.
- On X, Telegram and Discord, a text over the limit is refused with
422when the post is scheduled or published (scheduleorpublish_now); a draft isn’t checked. Discord’s text is never cut. Google Business Profile refuses a standard post’s text over 1,500 characters when the post is saved, drafts included. On the other networks, PostSyncer cuts the text to the limit when it’s sent.
Video covers
Setcover_image on the first content part. Only the first part’s cover is used.
Platform requirements for cover images
thumbnail. Send YouTube and Facebook a thumbnail (a media library picture id, or a public picture URL), never a frame. Instagram takes either: a thumbnail on a Reel only (on a Story it’s left out, with a thumbnail_error note), or a frame. Send it one or the other: when both are sent, only the thumbnail is tried.
"cover_image": { "video_cover_timestamp_ms": 2500 } uses the frame at 2.5 seconds.
Platform-specific settings
Each item inaccounts can carry settings for its network, such as the Instagram post type, the TikTok privacy level, a Pinterest board or who can reply on X. Only the keys for the account’s network are used, and every key is optional. All the keys are listed below.
Own media for one account
settings.media gives one account its own files instead of the post’s. The other accounts keep the post’s media.
422. The post’s video cover isn’t used for these files: the network picks its own frame.
First comment for one account
settings.first_comment, first_comment_delay and first_comment_media give one account its own first comment, on Instagram, Facebook, LinkedIn, YouTube, X, Threads, Bluesky, Mastodon, Slack and Discord. It goes out when the post has no first comment of its own (a part with is_first_comment). They are usually set once in the account’s post defaults.
first_comment_delayis minutes after the post goes out: 1 when left out, up to 10080 (7 days).0posts it right away; on X, Threads, Bluesky, Mastodon, Slack and Discord0sends it with the thread, as its last reply.first_comment_mediais media library ids, in order. A comment of files alone, with nofirst_comment, is fine."first_comment": ""(ornull) sends no first comment on this account: the timing and files of its post defaults are left out too, so they never go out alone. Sendfirst_comment_mediawith it for a comment of files alone.- Each network takes what its comment takes: Facebook and LinkedIn 1 photo or GIF, Instagram and YouTube no files, and X, Threads, Bluesky, Mastodon, Slack and Discord what a reply in the thread takes. Anything else is refused with
422underaccounts.<n>.settings.first_comment_media, a file that isn’t in the workspace’s library underaccounts.<n>.settings.first_comment_media.<i>, and nothing is saved. - Get a post returns
first_comment_mediaas media objects, which are taken back as they are.
Instagram trial Reels
A trial Reel is shown to non-followers first. Sendreel_trial_enabled: true with a single video. graduation_strategy decides what happens after the trial: MANUAL (the default) leaves it to you in the Instagram app, and SS_PERFORMANCE shares it with your followers if it does well.
reel_trial_enabled.
Instagram collaborators
collaborators invites up to 3 other Instagram accounts. Each gets an invite in Instagram; once they accept, the post shows on their profile too. Usernames work with or without @.
Pinterest boards
A pin goes to a board. Get the account’s boards from Get an account and send one asboard_id. Without it, the pin goes to the account’s first board. An account with no board gets a new one named My Pins when the pin is sent.
X Articles
An X account can post the post as an X Article, a long post with a title, witharticle. The body is the account’s own text when set, else the post’s text, in Markdown. Put library pictures in it as . X gets only the Article and its first comment, as a reply; with the account’s own text, the post goes to your other networks as it is.
can_publish_articles on Get an account says whether the account is one. An Article takes pictures only, and one of them as its cover. Without its own text, the post must be a single part.
LinkedIn mentions
LinkedIn tags a person or company only when the text has a tag in LinkedIn’s form:@[Name](urn:li:person:ID), @[Name](urn:li:organization:ID) or @[Name](urn:li:organizationBrand:ID). A plain “@name” goes out as text. Get the tag from Find LinkedIn mentions, searching with the account the post goes out from, and paste its text as it is.
- A tag works in
content[].textand in the LinkedIn account’s own text,settings.title. In a first comment it goes out as the name. - Every other network gets just the name: “Thanks to Mill Street Bakery for the rhubarb buns.”
- A person who can’t be tagged from the account goes out as their name, and the post still goes out. That account’s row gets a
mentions_untaggednote. - The API returns the text as you saved it, tags included.
Different options per network
One request can give each account its own options:Post defaults
Each account can hold post defaults: settings every new post on it starts from, such as a TikTok privacy level, YouTube Shorts to one playlist, or hashtags. Each account on a new post gets its defaults first, and thesettings you send win over them, key by key. Get an account shows them in post_defaults.
- Send
"use_account_defaults": falseto leave them out of this post. - A default that doesn’t fit the post’s media is skipped for this post: an Instagram or Facebook Reel or Story default on a carousel, for one. The account gets what it would get without it.
- A Pinterest board or YouTube playlist from the defaults that is no longer on the account is refused with
422, naming it. Sendboard_idorplaylist_idyourself, or change the defaults.
All settings by network
The keys ofaccounts[].settings, by network. Only the keys for the account’s network are used, so one request can carry options for several networks. Every key is optional.
Every network takes media: media library ids this account posts instead of the post’s media (on X, Threads, Bluesky, Mastodon, Slack and Discord: instead of the first part’s media). The files are posted in order (the same id twice posts the file twice), and each id must be in the workspace’s media library (422 otherwise). The media objects Get a post returns in settings.media are taken too, so settings read from a post can be sent back unchanged. An X Article posts the post’s media, not this list.
On Instagram, Facebook, LinkedIn, YouTube, X, Threads, Bluesky, Mastodon, Slack and Discord, first_comment, first_comment_delay and first_comment_media are this account’s own first comment, sent when the post has no first comment of its own. A blank first_comment sends none: the post defaults’ timing and files are left out too, unless first_comment_media is sent with it. first_comment_media takes media library ids (or the media objects a read gives) of files the network’s comment takes, and Get a post returns them as media objects. See First comment for one account.
Accounts that need reconnecting
An account that needs reconnecting is left out of a scheduled or published post, and the post goes to the other accounts. The left-out accounts are inskipped_accounts, each with a reconnect_url. When every account needs reconnecting, the request is refused with 422 under accounts.N.id, with the reconnect link in the message. A draft keeps all its accounts.
Networks that need a photo or video
Instagram, TikTok, Pinterest and YouTube can’t post text alone, and neither can a Google Businessgallery post or a Facebook STORIES or REELS post. YouTube takes a video only, and so does a Reel (REELS) on Instagram or Facebook: with photos alone it would go out as a feed post, so it is refused with 422, as a draft too (“Instagram needs a video for a reel. This post has only photos: add a video, or choose Post to share them.”). A draft for them with nothing to post there is saved, so the photo or video can be added later, and the answer lists each such account in needs_media with account_id, platform and a message to show the user (“Instagram needs a photo or video before this post can be scheduled or published.”, “Facebook needs a video for a reel before this post can be scheduled or published.”). An account’s own media (accounts[].settings.media) counts for that account. Scheduling or publishing such a post is refused with 422, as the errors below say. needs_media is [] when nothing is missing.
Default accounts the plan leaves out
Sent with noaccounts, a post goes to the workspace’s default accounts. When the owner’s plan doesn’t let new posts go to one of them (its plan_allows_posting is false, as on Free outside a first week), a scheduled or published post leaves it out instead of being refused, and goes to the others. It is in skipped_accounts with the same fields: reason is Not on the free plan's 2 accounts, reconnect_url is the Accounts page, where the owner can pick other accounts, and message also links the pricing page. A draft keeps every default account. When every default account is outside the plan, nothing is left out and the request is refused with 403, error: plan_limit_reached and limit: free_accounts. See Plan limits.
Errors
Related
- The post object: every field of the answer.
- Update a post: change it, or move it to another time.
- Upload a file: put media in the library first.
- Post events: hear when it goes out or fails.
Authorizations
Headers
Optional key, up to 128 characters, kept for 24 hours per user. Sending the same body again with the same key returns the post the first request made (200 with Idempotency-Replayed: true) instead of a duplicate. A key belongs to one body: the same key with a different body is refused with 422, and a key over 128 characters is refused with 422. While the first request is still running, or when the post it made was deleted since, the answer is 409.
128Body
The post's workspace. One the key can reach (see List workspaces).
draft saves it and sends nothing; it needs only posts:create. schedule goes out at schedule_for, or at the workspace's next free queue time without it, and needs posts:schedule; with no schedule_for and no free queue time, it is refused with 422 under schedule_for and no post is made. publish_now goes out now and needs posts:publish. If your role in the workspace can't publish, schedule and publish_now are sent for approval instead (PENDING_APPROVAL), and a schedule with no schedule_for and no free queue time waits with no time: the approver picks when it goes out.
draft, schedule, publish_now The accounts to post to, with their options. Leave it out for the workspace's default accounts. An account that needs reconnecting is left out of a scheduled or published post, which still goes to the others, and is listed in skipped_accounts. When every account needs reconnecting the request is refused (422). A draft keeps them. Left out, a default account the owner's plan doesn't let new posts go to (its plan_allows_posting is false, as on Free outside a first week) is left out of a scheduled or published post the same way, instead of the post being refused; a draft keeps every default account. When every default account is outside the plan, nothing is left out: the request is refused with 403 plan_limit_reached and limit: free_accounts. Each account the post gets for the first time starts from its post defaults, and the settings you send win over them, key by key.
false to leave the accounts' post defaults out of this post: each account gets only the settings you send, as it did before defaults. Leave it out, or true, and each account starts from its defaults.
Response
A retry with the same Idempotency-Key and body: the post the first request made, as it is now. The Idempotency-Replayed: true header says so; skipped_accounts is empty on a replay.
The post as saved, the accounts left out of it, and the accounts that still need a photo or video before it can go out.
The post's parts, in order. One part is a single post; more parts make a thread on X, Threads, Bluesky and Mastodon, and replies in the message's thread on Slack and Discord (the other networks get the parts joined into one text, with two blank lines between them, the first comment left out). A part with is_first_comment is the first comment.
Where the post stands. DRAFT: saved, not going out. SCHEDULED: goes out at scheduled_at. PENDING_APPROVAL: waiting for someone to approve it. IN_QUEUE: published now and waiting its turn. IN_PROGRESS: being sent. PUBLISHED: out on every account. PARTIALLY_FAILED: out on some accounts, failed on others. FAILED: failed on every account. REJECTED: its approval was turned down.
DRAFT, SCHEDULED, PENDING_APPROVAL, IN_QUEUE, IN_PROGRESS, PUBLISHED, PARTIALLY_FAILED, FAILED, REJECTED Goes up by one on every save through Update a post (one that only changes its labels or campaign too), its auto-plug, its contact collection or the app's composer, and when the post's content, time or accounts change. A few changes in the app leave it: its auto-repost, auto-plug, contact collection, comment moderation and labels set on their own, and unscheduling it. With client sign-off on, a change that sends a scheduled post to the client again moves it once more, so a copy read before is refused instead of putting the post back on the schedule. Send it back on Update a post: a stale content_version is refused (409) instead of overwriting a change made elsewhere since you read it.
The post's comment moderation; null when it was never set. Change it with Update comment moderation.
The post's contact collection; null when it was never set. Change it with Update contact collection.
The post's workspace. It has no accounts or brand_voice here: List workspaces has those.
The reply posted when the post reaches a number of likes, reposts, replies or views; null when it's off. Change it with Update auto-plug.
Accounts whose network can't post text alone (Instagram, TikTok, Pinterest, YouTube, a Google Business gallery item, a Facebook Story or Reel; a Reel needs a video) and that have no photo or video to post. A draft is saved this way, but scheduling or publishing it is refused until it has one, and a retried post fails there again. Add a photo or video to the post (or to that account's own media), or tell the user. [] when none.
Goes up by one each time what an approver reviews changes: the text, first comment and thread parts, media and their order, the accounts and their settings, the time, the repeats, the auto-plug or contact collection. Its labels, campaign and comment moderation leave it. Send it back on Approve a post or Reject a post: a stale review_version is refused (409) instead of answering about a version you didn't review.
Where the post stands with its approval, who it was sent to and who answered. null for a post that never waited for approval, and for a waiting or rejected post moved back to a draft. With client approvals on for the post's workspace, also its approval steps, when the waiting one needs an answer, and who it waits on.