Get an account
Read one connected account, with its scheduled posts and any posts to put back.
accounts:read. See Permissions.scheduled_posts: the scheduled posts still to go out to it.only_this_accountis the ones that would move to drafts if you deleted it. Tell the user before you delete.posts_to_put_back: set after the same profile was disconnected and connected again, when posts it was on can get it back. Show the user what it says, and put it back only if they agree.
boards: pass a board’s id as accounts[].settings.board_id when you create a post.
A YouTube channel has its playlists, read from YouTube (on this route only, not on List accounts): pass a playlist’s id as accounts[].settings.playlist_id when you create a post, and the video is added to it once it is up. When playlists_reconnect is true, the channel was connected before PostSyncer asked YouTube to manage playlists, or its sign-in no longer works: playlists is [] and a playlist_id isn’t used until you reconnect it. When YouTube doesn’t answer, playlists is null: the channel may still have playlists, so try again later. It lists up to 500.
Errors
Related
- List accounts: every account.
- Put an account back on its posts: after a reconnect.
- Delete an account: what happens to its posts.
Authorizations
Response
The account.
A connected social account.
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.