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 connects the authenticated user’s profile and must be completed in a browser signed in as that same 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"
}