REST API v1
One API for 12 social networks
Schedule and publish posts, add photos and videos, make links for clients to connect their accounts, and read the numbers, on every network PostSyncer supports. One request reaches Instagram, LinkedIn, X and the rest at once, each with its own text and settings.
- Bearer keys with resource:action permissions
- 60 requests a minute
- The same calls run the MCP server
Free plan: 2 accounts, 20 posts a month, no card
- Cancel anytime
- Unlimited posts on paid plans
Pick a request and send it
Every request below was sent to PostSyncer’s API, and the answer under it is the one that came back, cut down to the fields that matter. The IDs are a test workspace’s. Swap in yours from the first two requests.
POST/api/v1/posts
curl -X POST "https://postsyncer.com/api/v1/posts" \
-H "Authorization: Bearer $POSTSYNCER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"workspace_id": 76,
"schedule_type": "schedule",
"schedule_for": {
"date": "2026-12-08",
"time": "09:00",
"timezone": "America/Los_Angeles"
},
"content": [
{
"text": "Our Ethiopia Guji harvest lot lands Tuesday. Stone fruit, jasmine, wildflower honey. 140 bags, roasted in Portland this week.",
"media": [2104]
}
],
"accounts": [
{
"id": 321
},
{
"id": 322
},
{
"id": 324
},
{
"id": 323,
"settings": {
"text": "Guji harvest lot lands Tuesday. Stone fruit, jasmine, wildflower honey. 140 bags."
}
}
]
}'posts:createposts:scheduleStatus SCHEDULED. platforms lists the four networks, each PENDING until then, and X’s row carries its own text. The photo comes from the media library, and no account was skipped.
What changed in PostSyncer
A scheduled post on the PostSyncer calendar for 9:00 Pacific time, going to Instagram, Facebook, LinkedIn and X, with its own shorter text on X. The timezone is for this post only: the workspace keeps its own.
{
"id": 80925,
"status": "SCHEDULED",
"content": [
{
"text": "Our Ethiopia Guji harvest lot lands Tuesday. Stone fruit, jasmine, wildflower honey. 140 bags, roasted in Portland this week.",
"media": [
{
"id": 2104,
"name": "beans-pan.jpg",
"type": "image"
}
]
}
],
"platforms": [
{
"platform": "instagram",
"status": "PENDING"
},
{
"platform": "facebook",
"status": "PENDING"
},
{
"platform": "linkedin",
"status": "PENDING"
},
{
"platform": "twitter",
"status": "PENDING",
"settings": {
"text": "Guji harvest lot lands Tuesday. Stone fruit, jasmine, wildflower honey. 140 bags."
}
}
],
"skipped_accounts": []
}Quick start
From nothing to a first post in three steps
- 1
Make a key
In Settings → API, name the key, tick what it may do and, if you like, give it an end date. The key is shown once, so copy it into your secrets store.
- 2
Find your IDs
Posts go to a workspace and to connected accounts in it.
GET /workspacesandGET /accountsgive you both, with each account’s network and handle. - 3
Send the post
Put the account IDs, the text and the time in one
POST /posts. It lands on the PostSyncer calendar like a post made in the app, and goes out at that time.
What the API covers
The base URL is https://postsyncer.com/api/v1. Everything the PostSyncer app does with posts, you can do from code: write a post once, schedule it, change it, publish it now, send it for approval, or delete it. Around the posts sit the parts a real publishing tool needs. The media library takes uploads and imports from links. Folders, labels and campaigns keep a busy calendar sorted. Comments can be read, answered and hidden. Google Business Profile reviews can be answered. Analytics read back how each post and account did.
Every request acts as the person who made the key, inside the workspaces they belong to and with their role in each. A key can never do more than its owner could do in the app, and it can be told to do much less.
- Posts: list, get by ID, by public link or by the network’s own post ID; create, update, approve and delete
- Accounts: list, get, disconnect, and make connect links for other people
- Media: list, get, upload a file, import from a link, delete; folders to sort them
- Comments and Google reviews: read, reply, hide and delete
- Analytics: totals across workspaces, a workspace, an account or one post
- Brand: read and update a workspace’s voice and rules before you write
- Labels, campaigns, saved snippets and signed webhooks for your own automations
One request, every network
A post is a list of content items and a list of accounts. The first item is the post itself; more items make a thread where the network has threads, like X. Each account can carry settings of its own: a shorter text for X, a Reel instead of a feed post on Instagram, a board on Pinterest, a button on Google Business Profile. Accounts without settings get the shared text.
schedule_type says what happens next. draft saves it and nothing goes out. schedule takes schedule_for, a date, a time and an IANA timezone for that post, so “9:00 in Los Angeles” means the same thing whoever sends it; leave schedule_for out and the post takes the workspace’s next free queue slot, or is refused when none is free. Answers write times in the workspace’s own time zone, which a post’s timezone never changes. publish_now sends it straight away. A first comment is a content item with is_first_comment set. Instagram, Facebook, LinkedIn and YouTube post it under the post; X, Threads, Bluesky and Mastodon post it as a reply in the thread.
Photos and videos: an ID or a link
content[].media takes media IDs from your library or public links. A link is copied into your media library when the post is saved, so the post keeps working if the original moves; if it can’t be fetched, the request fails with the reason instead of saving a broken post. To prepare files ahead, import them with POST /media/upload/url or send the file to POST /media/upload/file, then use the IDs.
Each network’s rules still apply: file types, sizes, video length and how many files a post can hold. The API checks them before it saves, so a post that would fail at 9:00 fails now, with a message that says which network refused what.
Keys that can only do their job
Permissions are resource:action pairs. A reporting script needs analytics:read and nothing else. A tool that writes posts for a person to check can have posts:create without posts:schedule or posts:publish: everything it sends is saved as a draft, and a request to schedule is refused with a 403 that names the permission it lacks. Approving a post waiting for approval is its own permission too, posts:approve.
Make one key per tool, so you can see which one did what and turn one off without breaking the others. A key with an end date stops working on that day by itself.
Errors you can act on
Errors come back as JSON with a message a person can read. 401 means the key is missing, wrong or past its end date. 403 names the permission the key lacks, or says your plan’s limit was reached. 422 lists the fields that failed and why, including a network refusing a file or a text that’s too long. 429 means a limit was reached; the limits section says which ones.
OpenAPI, generated clients and agents
The whole API is described in openapi.json, the file the API reference is built from. Point a client generator at it for typed calls in your language, or give it to a coding agent so it writes requests against the real field names. The same operations are tools on the MCP server, so an AI client can do over MCP what your code does over REST, with the same key and the same permissions.
The API and MCP
Two ways in, one set of rules
Code calls the REST API. AI clients call the MCP server. Both use the same keys, the same permissions and the same limits.
REST API v1
JSON over HTTPS, described in openapi.json.
Base URL
https:// postsyncer.com/ api/ v1MCP server
Streamable HTTP, for ChatGPT, Claude and any MCP client.
Server address
https:// postsyncer.com/ mcpAuthentication
Keys and sign-in
Code sends an API key. AI clients that support connectors can sign in with OAuth instead, so nobody pastes a key into a chat.
An API key, for code and config files
Make keys in Settings → API, each with its own resource:action permissions and an optional end date. The key is shown once. Send it as a Bearer header to the API or the MCP server.
Authorization: Bearer $POSTSYNCER_API_KEYOAuth, for AI clients with connectors
ChatGPT, Claude and other clients with connectors send you to PostSyncer to sign in and click Allow. The client then acts as you, in your workspaces, with no key to paste.
Permissions
Give each key only what it needs
A key holds resource:action permissions, or all of them. For posts, create alone saves drafts: scheduling and publishing are permissions of their own.
| Resource | Actions |
|---|---|
| WorkspacesThe workspaces the key can reach and their settings, and making or deleting one. |
|
| BrandThe brand brain: identity, voice, look, accounts, competitors, learnings and rules. |
|
| Social accountsConnected social accounts, links to connect more, and disconnecting them. |
|
| PostsDrafts, scheduling and publishing. Edit also covers per-post settings. |
|
| Media libraryLibrary items, file uploads and URL imports. |
|
| Media foldersFolders that organise the media library. |
|
| CommentsReplying to, hiding and syncing comments on your posts. |
|
| AnalyticsWorkspace, account and post performance. |
|
| CampaignsCampaigns used to group posts. |
|
| LabelsLabels used to tag posts. |
|
| SnippetsSaved snippets and hashtag groups to drop into posts. |
|
| WebhooksSigned webhook endpoints that get your notification events. Edit also covers test sends. |
|
| TeamTeammates and invitations: inviting people, changing roles and removing them. |
|
| NotificationsThe bell, notification settings, and alerts in Slack, Discord and Telegram. Edit also covers test sends. |
|
| Blog-to-socialBlog feeds whose new articles become posts. |
|
| ProductsProducts that posts can promote. |
|
| ProfileYour name and email address. Only the name can be changed. |
|
| API keysYour API keys: listing them and deleting one. |
|
| BillingYour plan, invoices and links to pay or change it. |
|
A request without the permission it needs gets a 403 that says so: “This API key does not have the "posts:schedule" permission. Edit the key in PostSyncer under Settings → API to grant it.”
Platform APIs
REST API guides for every network
Inspect platform-specific endpoints, media limits, settings keys and examples for each of the 12 networks.
Limits
What each plan allows
Two limits apply: requests a minute, the same on every plan, and your plan’s posts. Posts are unlimited on paid plans; on Free, posts from the API count toward its monthly posts.
| Plan | Social accounts | Posts | API posts a day, per network |
|---|---|---|---|
| Free | 2 | 20 a month | Within the 20 |
| Starter$29 a month | 10 | Unlimited | Unlimited |
| Pro$49 a month | 30 | Unlimited | Unlimited |
| Agency$99 a month | 100, then $1/mo each | Unlimited | Unlimited |
Every plan: 60 requests a minute for each PostSyncer user, across all their keys, the API and the MCP server together.
401The key is missing, wrong or past its end date.403The key lacks a permission, or the plan’s limit was reached (plan_limit_reached).422A field failed a check, or a network’s rules refused the post. The answer says which.429Too many requests: more than 60 in a minute, or a sync asked for again too soon. Wait and try again.
Docs
Read more in the docs
Which networks can the API post to?
All 12 that PostSyncer supports: Instagram, TikTok, Facebook, X, LinkedIn, YouTube, Threads, Pinterest, Bluesky, Google Business Profile, Mastodon and Telegram. One request can go to any mix of them, with its own text and settings for each.
How do I authenticate?
Send your key in the Authorization header as Bearer and the key. Make keys in Settings → API. Each key has resource:action permissions, like brand:read, posts:create or analytics:read, and can have an end date.
Is the API on the free plan?
Yes. The REST API and API keys are on every plan, Free included. On Free, posts from the API count toward the plan’s monthly posts, the same allowance the app and MCP use, and analytics totals cover the last 7 days. The limits table shows each plan’s numbers. X post analysis with AI (POST /posts/analyze-twitter), watching a video with AI (POST /media/analyze-video), analytics for other dates and comment moderation need a paid plan.
How do I add photos and videos?
Put media IDs from your library, or public links, in content[].media. A link is copied into your media library when the post is saved. You can also import first with POST /media/upload/url or send a file to POST /media/upload/file.
Can a client connect their own accounts?
Yes. POST /accounts/connect-links makes a link for one network. Whoever opens it signs in on that network’s own page, with no PostSyncer login, and the account joins your workspace. The link works for 7 days.
What happens past a limit?
Past the per-minute limit you get a 429: wait for the minute to pass. A plan limit, like the Free plan’s monthly posts, answers 403 with plan_limit_reached and names the limit.
Is there an OpenAPI file?
Yes, openapi.json, linked from the API reference. Use it to generate a client or to give a coding agent the real field names.
Your first API post can go out today.
Make a key in Settings → API and send one request. The Free plan needs no card.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans