Skip to content
Docs menu

Accounts

Find the social account IDs and connection states for your workspace.

On this page

Connect or reconnect an account

Open Dashboard → Accounts as a workspace admin or owner and complete the platform's connection flow. Use the same workspace when creating your API key.

If an account needs reauthorization, reconnect it from Accounts before creating a post. Manage connections in the dashboard or use the account details, disconnect, and reconnect endpoints. Workspace admins can also create expiring client connect links for people who lack a Posthoop login.

List accounts and choose targets

GET /api/v1/accounts returns accounts with each account's id, platform, handle, and status.

Shell
curl --fail-with-body -sS "$POSTHOOP_URL/api/v1/accounts" \
  -H "Authorization: Bearer $POSTHOOP_API_KEY"
StatusMeaning
activeThe account is connected and can be selected for publishing.
needs_reauthThe account needs to be reconnected.
revokedThe account was disconnected.

Use the Posthoop id as targets[].accountId. The handle helps distinguish accounts on the same platform.