Skip to main content

Documentation Index

Fetch the complete documentation index at: https://info.bundle.social/llms.txt

Use this file to discover all available pages before exploring further.

The hosted flow is the easiest way to connect accounts. You create a portal link, send the user there, and bundle.social handles the connect UI, provider OAuth, account picker, channel picker, language, and return flow. Endpoint: POST /api/v1/social-account/create-portal-link Test it in Swagger or the API Reference Client.
{
  "teamId": "team_123",
  "redirectUrl": "https://app.example.com/settings/social-accounts",
  "socialAccountTypes": ["FACEBOOK", "INSTAGRAM"],
  "disableAutoLogin": true,
  "withBusinessScope": true,
  "expiresIn": 60,
  "language": "en"
}
Response:
{
  "url": "https://bundle.social/connect?token=..."
}
Redirect the user to url.

Required Fields

FieldRequiredDescription
teamIdYesTeam that should receive the connected social account.
socialAccountTypesYesPlatforms available in the hosted flow. Uses values like FACEBOOK, INSTAGRAM, LINKEDIN, YOUTUBE.
redirectUrl is optional in the API contract, but you should provide it for normal app flows. It is the URL users return to after they click the back button.

OAuth Behavior Fields

FieldRequiredDescription
redirectUrlNoHTTP/HTTPS URL to return to after the hosted flow. Recommended for most integrations.
disableAutoLoginNoFacebook, Instagram via Facebook, Instagram direct OAuth, and TikTok paths use this to avoid silently reusing the last logged-in platform session where supported. Defaults to false.
forceBrowserOAuthNoInstagram direct OAuth only. On phones, tries browser OAuth instead of the Instagram app flow. Defaults to false.
withBusinessScopeNoFacebook and Instagram via Facebook only. When provided, the hosted page skips the business vs standard scope chooser and uses your value.
expiresInNoLink lifetime in minutes. Min 5, max 2880 (48 hours). Defaults to 10.
For Facebook and Instagram via Facebook, tell users to select all Pages and Instagram accounts they manage in Meta OAuth. Then select the one Page or Instagram account for this team inside bundle.social.

Hosted UI Fields

FieldRequiredDescription
logoUrlNoHTTPS image URL shown on the hosted page.
userLogoUrlNoHTTPS user logo or avatar shown on the hosted page.
userNameNoUser name shown on the hosted page.
goBackButtonTextNoText for the back button.
languageNoPage language. Defaults to en.
hidePoweredByNoHide the “powered by” text.
hideGoBackButtonNoHide the back button.
hideUserLogoNoHide the user logo.
hideUserNameNoHide the user name.
hideLanguageSwitcherNoHide the language switcher.
showModalOnConnectSuccessNoAsk the user what to do after a successful connection: go back to redirectUrl or close and connect more accounts.
maxSocialAccountsConnectedNoMaximum number of social accounts that can be connected in the hosted flow.

Supported Languages

CodeLanguage
enEnglish
plPolish
frFrench
hiHindi
svSwedish
deGerman
esSpanish
itItalian
nlDutch
ptPortuguese
ruRussian
trTurkish
zhChinese

Hosted Flow Steps

  1. Create a portal link with POST /api/v1/social-account/create-portal-link.
  2. Redirect the user to the returned url.
  3. The user connects one or more accounts.
  4. If a platform needs a channel, the hosted UI handles the picker.
  5. The user returns to your app through redirectUrl or the back button.
Connect social account flow For return query parameters, see Callback Parameters.