Social Accounts
Connect a Social Account
Changed onDeprecated compatibility endpoint. Connect external accounts with POST /external_accounts/connect instead.
post/social_accounts/connect
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/social_accounts/connect
- Auth: HTTP bearer
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 through the deprecated path
Example response
{
"authorize_url": "https://www.facebook.com/v25.0/dialog/oauth"
}Changes
- info
added the new
xenum value to the request property
- info
- info
endpoint deprecated
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info