Finish a connect flow
Dashboard session only. Completes the handshake started by POST /v1/accounts/connect/{platform} — for OAuth platforms this is invoked from the redirect callback flow; for credentials platforms (Bluesky) it carries the credentials in the body. Upserts the platform_accounts row (re-connecting the same account rotates the stored token rather than 409-ing).
Path Parameters
Supported platforms. tiktok is currently in App Review — connect requests return platform_not_enabled until approval lands.
bluesky, facebook, instagram, linkedin, pinterest, threads, tiktok, twitter Body
Provider-specific completion payload — see the platform's connect doc.
Response
Account re-connected (token rotated on an existing row).
A connected platform account. Secrets never leak — only display name, platform identifiers, and lifecycle timestamps. Platform-specific extension blocks (e.g. pinterest, instagram) carry non-sensitive metadata.
Supported platforms. tiktok is currently in App Review — connect requests return platform_not_enabled until approval lands.
bluesky, facebook, instagram, linkedin, pinterest, threads, tiktok, twitter The platform's own user/account id (e.g. Twitter user id, IG Business id).
Pinterest-only metadata block.
Instagram-only metadata block. accountType and grantedScopes echo what Meta reports.

