List accounts
List every connected social account in the workspaces the key can reach.
accounts:read. See Permissions.data). Optionally filter with workspace_id and provider (alias platform). Posts take an account’s id in accounts[].id.
Before posting, check four fields. needs_reconnect means the sign-in no longer works: the account can’t post until someone reconnects it in PostSyncer, and a new post leaves it out. platform_hold means the network holds the account until its owner acts there; the sign-in still works. renewal_failing means it still posts, but only until works_until. plan_allows_posting: false means the owner’s plan doesn’t let new posts go to it (on Free, new posts go to 2 accounts, outside a first week): a post that names it is refused with 403 and "limit": "free_accounts", so leave it out or save a draft. A post with no accounts leaves it out of the default accounts and lists it in skipped_accounts.
Pinterest accounts come with their boards (cached for 15 minutes). On the Free plan an owner can connect 2 accounts in all. When PostSyncer offers a first week, owners who sign up then get 10 accounts, unlimited posts and Analytics for their first 7 days. See Plan limits.
Errors
Related
- Get an account: one account, with its scheduled posts.
- Create a connect link: connect another account.
- Account events:
account.needs_reconnect,account.paused,account.expires_soon.
Authorizations
Query Parameters
Response
The accounts.
Set when the network holds the account until its owner acts there (an identity check, a lock, a suspension, a restriction, the bot removed from a channel). The sign-in still works, so no reconnect is needed: posts to it fail with the network's reason until the hold is resolved there, and trying a failed post again asks the network again. Null when not held.
Why this account's post numbers can't be read, or null when they can. Its posts' numbers are not read meanwhile.
Get account only. A YouTube channel's own playlists, read from YouTube, up to 500. [] for other networks and when playlists_reconnect is true. null when YouTube didn't answer: the channel may still have playlists, so try again later. Pass a playlist's id as accounts[].settings.playlist_id on a post to add the video to it.
Get account only. Set when this profile was disconnected and connected again to the same workspace, and posts it was on can get it back with Put back account posts. Null otherwise.