profile_groups_initialize_connection
Generate a URL to connect a new social media profile to a profile group (initiates the OAuth/connect flow). For bluesky, pass identifier + app_password. For telegram, pass bot_token. For whatsapp, optionally pass onboarding ('api' or 'business_app'); when omitted the connect page asks the user where their number lives. The returned URL should be opened by the user to complete the connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform to connect (e.g. 'instagram', 'linkedin', 'bluesky', 'telegram') | |
| bot_token | No | Telegram bot token from @BotFather. Required for telegram. | |
| identifier | No | Bluesky handle (e.g. yourname.bsky.social). Required for bluesky. | |
| onboarding | No | WhatsApp only. 'business_app' keeps the number in the WhatsApp Business app on a phone (coexistence: QR scan, up to 6 months of chats imported, no group chats through the API); 'api' moves it to the Cloud API only (Twilio/360dialog/own Meta setup or a fresh number; not usable in the app afterwards). Omit to let the user choose on the connect page. | |
| app_password | No | Bluesky app password (bsky.app/settings/app-passwords). Required for bluesky. | |
| profile_group_id | Yes | Profile group ID (hashid) to connect a profile to |