Skip to main content
POST
Needs posts:update and posts:schedule, and a role in the workspace that can edit and publish posts. See Permissions.
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 an account shows the offer in posts_to_put_back, and the workspace owner and managers 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. dismiss: true closes the offer and changes no post. Putting back only adds the account. 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. A post an error stopped counts in not_done and stays as it was; calling again tries it again, and otherwise 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 network 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 isn’t added to its next repeats.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The reconnected account's id.

Body

application/json
dismiss
boolean
default:false

true closes the offer and leaves every post as it is.

Response

Put back, or the offer closed.

message
string
required

What happened, in words.

posts
integer
required

Posts the account was put back on.

counts
object
required

Posts by what putting back does with them (all 11 are always there): scheduled_again (a draft the disconnect took off the schedule, unchanged since, scheduled again at its time), added_to_scheduled (scheduled or waiting for approval: the account is added, the time stays), added_to_draft (a draft stays a draft), added_to_draft_time_passed and added_to_draft_changed (taken off the schedule by the disconnect, but its time passed or it was edited since, so it stays a draft), added_to_draft_refused (kept a draft because the plan's post limit refused scheduling it), skipped_deleted, skipped_already_there, skipped_went_out (published, failed or sending), skipped_time_passed (due within 5 minutes), and not_done (an error stopped it; calling again tries it again).

relinked
integer
required

Published posts already linked to the account again, with their link, numbers and comments. That happens on its own at the reconnect and sends nothing.

disconnected_at
string<date-time> | null
required

When the profile was disconnected; null when there was no offer.