list_accounts
Check which social accounts are connected or need reconnection, and retrieve learned caption voice, 90-day performance stats, or connection-session status.
Instructions
Connected social accounts and what posterly has learned about them. view=accounts (default): connected accounts, optionally one workspace_id or one account_id. Each row has connection_status ok or needs_reconnect (reason and date, never a token). Pass connection needs_reconnect to list only accounts that need a reconnect. Instagram rows identify direct-login versus Meta-linked connections and whether native media tags/collaborators are available, so check this before Instagram user_tags or collaborators. view=learned_voice (account_id): the voice learned from the account's real published captions (summary, traits, style guidelines, habits); read-only, never overwrites the saved brand profile. view=performance_profile (account_id): 90-day coaching stats, engagement-rate trend, and summary (Pro plan or higher; platforms without per-post analytics never get one). view=connect_session (session_id): poll a session from create_connect_session and keep the user updated in plain language; stop when status is connected, failed, cancelled, or expired.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | accounts (default), learned_voice, performance_profile, or connect_session. | |
| debug | No | view=connect_session: when true, include the raw connect session JSON for debugging. Keep false for normal user-facing agent flows. | |
| account_id | No | Social account ID from list_accounts. Required for learned_voice and performance_profile; with view=accounts it returns just that account. | |
| connection | No | view=accounts: ok, or needs_reconnect to list only accounts that need a reconnect. | |
| session_id | No | view=connect_session: connect session ID returned by create_connect_session. | |
| workspace_id | No | view=accounts: filter to accounts in a specific workspace (get IDs via whoami). |