profile_groups_initialize_connection
Generate a URL to connect a new social media profile to a profile group (initiates the OAuth/connect flow). The returned URL should be opened by the user to complete the connection. For whatsapp, optionally pass onboarding ('api' or 'business_app'); when omitted the connect page asks the user where their number lives. For instagram, optionally pass onboarding 'facebook' to connect through Facebook Login (an Instagram professional account linked to a Facebook Page the user manages) instead of the default Instagram Login. Bluesky and Telegram need credentials, so they are connected in the Postproxy web app rather than here.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_group_id": "<profile_group_id>",
"platform": "<platform>"
},
"name": "profile_groups_initialize_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | Platform to connect (e.g. 'instagram', 'linkedin', 'bluesky', 'telegram') | |
| onboarding | No | Instagram and WhatsApp only. Instagram: 'instagram' (default) connects with Instagram Login; 'facebook' connects with Facebook Login, for an Instagram professional account linked to a Facebook Page the user manages — either way the profile is platform 'instagram', and reconnecting with the other method updates the existing profile in place. WhatsApp: '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. | |
| profile_group_id | Yes | Profile group ID (hashid) to connect a profile to |