Connect account
connect_accountStart connecting one of the user's own social accounts to their SocialClaw workspace. For most providers this returns an authorizeUrl; give it to the user so they sign in with the provider themselves (SocialClaw never sees their password). Telegram and Discord have no sign-in page: Telegram takes the bot token and chat id of a bot the user created and made admin of their channel, and Discord takes a webhook URL the user created for their channel. Only pass values the user gave you for this purpose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Telegram chat target, e.g. @yourchannel (telegram only). | |
| botToken | No | Telegram only: token of the user's own bot, from @BotFather. | |
| provider | Yes | Provider to connect. | |
| webhookUrl | No | Discord only: webhook URL the user created in their channel settings. |