Get link to connect social accounts
get_connect_linkReturns a one-click link to connect or reconnect social accounts like TikTok, Instagram, and YouTube. Creates a default profile if none exists and returns the dashboard link otherwise.
Instructions
Get the link the user opens to connect (or reconnect) social accounts such as TikTok, Instagram or YouTube. Use it when list_users shows no profile, or the platform the user wants is not connected or needs reconnecting. If the account has no profile yet, this creates one named "default" and returns a one-click link to connect accounts to it (valid 48 h); otherwise it returns the dashboard link. Give the user connect_url, ask them to tell you when they are done, then call list_users to confirm before publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Existing profile to connect the accounts to, if the user already has one. | |
| platforms | No | Platforms the user wants to connect, e.g. ['tiktok','instagram']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No |