Social Accounts
Connect a Social Account
Starts an OAuth connection flow and returns an authorize_url where the user can connect a social account. LinkedIn supports personal profiles only, with scopes omitted. TikTok connects the authenticated user’s profile when scopes are omitted or company advertising assets with advertise. Meta Business and Snapchat support advertising connections only and require advertise. Personal profile connections must be completed in a browser signed in as the initiating Whop user.
post/social_accounts/connect
Headers
Idempotency-Keystring
Example:d9105228-4a08-46b1-8b91-42fed586d383
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"platform": "meta_business",
"redirect_url": "https://example.com/settings/social-accounts",
"scopes": [
"advertise"
]
}Response
authorize url returned
Example response
{
"authorize_url": "https://www.facebook.com/v25.0/dialog/oauth"
}