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.
Headers
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"
}Changes
Changed in 6 of the 74 revisions of this API.17
- ○
added the new
snapchatenum value to the request propertyrequest-property-enum-value-added
- ○
- ○
added the new
linkedinenum value to the request propertyrequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
the request property
became requiredrequest-property-became-required
- ▲
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
added the new
tiktokenum value to the request propertyrequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 74 revisions, 1 has no diff computed.