v1

latestOpenAPI 3.0.22026-07-261530825.5 KB
socialAccount

Create portal link

Simplify connect flow. Create a portal link which can be used to manage connected social accounts directly on bundle.social platform without implementing the logic on your side.

post/api/v1/social-account/create-portal-link

Request body

teamIdstring required
redirectUrlstring uri
socialAccountTypesstring[] required
serverUrlstring uri

Mastodon or Bluesky only

disableAutoLoginboolean

Optional. If true, portal will request provider-specific anti-auto-login behavior where supported.

tiktokForceLoginboolean

Optional and experimental. TikTok only. When true, portal routes TikTok authorization through logout to request a fresh login session.

forceBrowserOAuthboolean

Optional. Instagram only. When true, direct Instagram connections on phones will try to force browser login to avoid the Instagram iOS app deep-link bug.

instagramConnectionMethod'FACEBOOK' | 'INSTAGRAM'

Instagram only - connection method

withBusinessScopeboolean

Optional. Facebook and Instagram only - when provided, portal skips business scope selection modal for Facebook login paths.

expiresIninteger

Time in minutes, after which the link will expire. Minimum 5 minutes, maximum 48 hours.

logoUrlstring uri
userLogoUrlstring uri
userNamestring
goBackButtonTextstring
hidePoweredByboolean
hideGoBackButtonboolean
hideUserLogoboolean
hideUserNameboolean
hideLanguageSwitcherboolean
showModalOnConnectSuccessboolean
language'en' | 'pl' | 'fr' | 'hi' | 'sv' | 'de' | 'es' | 'it' | 'nl' | 'pt' | 'ru' | 'tr' | 'zh'
maxSocialAccountsConnectednumber

Response

200

urlstring required