Make a connect link
A connect link is a page where a person signs in to one network and picks the accounts to add, such as two of their Facebook Pages. They don’t need a PostSyncer login. It’s the same link as Accounts → Invite in the app. The key needsaccounts:create, and its person must be an owner or a manager in the workspace.
201
provideris one of the 12 networks:twitter(X),instagram,facebook,linkedin,tiktok,youtube,pinterest,threads,bluesky,mastodon,telegramorgoogle_business(Google Business Profile).- Mastodon also needs
mastodon_instance, the server the account is on, such asmastodon.social. - A link works for one sign-in, then stops. It expires after 7 days.
- On Telegram, the person adds a channel through the PostSyncer bot instead of signing in. Telegram has the steps.
url to the person, or open it yourself on another device. See Create a connect link.
At the account limit
The Free plan has 2 accounts across all the owner’s workspaces. Paid plans have more: see Plan limits. At the limit, making a link answers403 with "error": "plan_limit_reached" and "limit": "accounts", so you never send a link that would fail after the person signs in.
Know when it’s connected
Subscribe a webhook toaccount.connected. It carries the new account. Then list the accounts to get its id for posts.
A social account can be in one PostSyncer workspace at a time. Signing in with one that is already in another workspace is refused. Signing in again with one already in this workspace renews its sign-in, which is how a reconnect works.
Keep accounts working
Get account and List accounts show each account’s health:
These webhooks tell you without polling:
Webhook events shows what each one carries.
Posts and an account that needs reconnecting
When you schedule or publish a post, an account that needs reconnecting is left out. The post still goes to its other accounts, and the answer lists the one left out inskipped_accounts, with a reconnect_url and a message to show the user. Only when every account still to be sent to needs reconnecting is the request refused with 422. A draft keeps such accounts.
Reconnect an account
Reconnect in the app (Accounts → Reconnect), or make a connect link for the same network and sign in with the same account. Either way the account keeps itsid, its posts and its settings, and needs_reconnect goes back to false.
Then send again the posts that failed on it: see Send failed accounts again, and add it back to posts that left it out.
Remove an account
Delete account (accounts:delete) disconnects it from the workspace:
- Scheduled posts that go only to this account become drafts. They keep their time, so they can be scheduled again.
- Scheduled posts that also go to other accounts still go out there.
scheduled_posts says how many posts each case covers, so you can tell the user before you delete. The answer has posts_moved_to_drafts and posts_kept_on_other_accounts.
Put an account back on its posts
When the same profile is connected again to the same workspace within 90 days of being removed, PostSyncer offers to put it back on the posts it was on:- The workspace gets an
account.posts_to_put_backwebhook, and Get account shows the offer inposts_to_put_back. - Ask the user. Nothing changes until someone chooses.
- Put back account posts adds the account back. It needs
posts:updateandposts:schedule. Send"dismiss": trueto close the offer instead.
With MCP
The MCP tools do the same, with the same permissions:create-account-connect-link, list-accounts, get-account, delete-account and put-back-account-posts. See the MCP tools reference.
Related
Accounts
The account object and its fields.
Verify account ownership
Prove a user owns an account without connecting it.
Publish a post
Send posts to the accounts you connected.
Platforms
What each network posts and needs.