Accounts
Put Back Account Posts
After a reconnect, put the account back on the posts it was on before it was disconnected
POST
Put Back Account Posts
Disconnecting an account takes it off every post it was on. When the same profile is connected again to the same workspace (within 90 days), PostSyncer offers to put it back. Get account shows the offer inposts_to_put_back, and the workspace owner and admins get an account.posts_to_put_back notification.
Nothing changes until someone chooses. Tell the user what posts_to_put_back says, and ask before you call this.
Putting back only adds the account to posts. Each post is handled on its own:
Nothing is published right away, and no post’s text, media, time or other accounts change. The account’s settings for each post (Pinterest board, TikTok privacy, YouTube title…) come back as they were. Calling it again does nothing more.
Published posts come back on their own
Posts the account had already published don’t need this call. Right after the reconnect, PostSyncer links them to the new account again with their link, numbers, day-by-day analytics and comments, as they were when the account was disconnected.relinked says how many. That sends nothing: no post, first comment, auto plug, comment reply or notification goes out, and the posts’ status doesn’t change. Comments written on the platform while the account was disconnected are read in later, but comment moderation doesn’t act on them. A post that still has repeats to come is left out, so the account is not added to its next repeats.
Request
Response
Posts by what happened to them (see the table above).
added_to_draft_refused counts posts kept in drafts because the plan’s post limit refused scheduling them; not_done counts posts an error stopped. Those stay as they were, and calling again tries them again.Published posts already linked to the account again, with their link, numbers and comments. That happens on its own at the reconnect.