social:connect
social family
A person connects Bluesky or Mastodon to a workspace they own or run. Bluesky takes a handle and an app password (never the main password: refused by its shape and by the session Bluesky hands back); Mastodon takes the server and an access token with read:accounts, write:statuses and write:media. One harmless read proves the login first (Bluesky sign-in; Mastodon verify_credentials), and a refusal carries the network's own reason. Then the login is sealed on the workspace's connection, the same sealed store every channel login uses; it is never returned, never logged. One account per network per workspace: the same account again re-seals it, a different one replaces the old. Refuses an account another workspace holds. A bare key with no person and any agent are refused. Facebook, Instagram, LinkedIn and the other Composio networks connect through their own sign-in page, not here. With `target`, on any network that has one: save where on the account posts go by default (Pinterest boardId; Google Business locationName accounts/{a}/locations/{l}; Reddit subreddit; Telegram chatId as @channel or -100…, with the bot an admin of the channel; Discord channelId and optional guildId; Slack channel; Facebook pageId; LinkedIn authorUrn), at connect time or later. A value on the post itself overrides it.
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- manage_integrations
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- yes
- Safe to retry as-is.