Create a Social Account
Changed onDeprecated compatibility endpoint. Create external accounts with POST /external_accounts instead.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Whop no longer creates Facebook pages, so this returns a facebook_page_provisioning_retired error.
Starts provisioning a Whop-managed TikTok account. Set the account's logo with Update Account before you call this endpoint. Whop returns an id you can use immediately. The rest of the profile appears after provisioning.
Connects the account's existing Klaviyo account with a private API key.
Connects the account's Aimerce shop with an API key and turns on the Aimerce tracking pixel. Requires the company:manage_checkout scope instead of social_account:create.
Example request
{
"platform": "facebook"
}Response
social account created through the deprecated path
The platform-specific ID for this social account.
Unique identifier for the social account.
The display name of the social account on the platform.
Always null. Partnership ads are no longer available.
The platform the social account exists on.
The URL where the profile picture of the social account can be accessed.
The URL where the social account can be accessed on the platform. Null while a Whop-owned account is still being provisioned.
The username of the social account on the platform. Null while a Whop-owned account is still being provisioned, and on platforms without usernames, such as Klaviyo.
Whether the social account is verified on the platform.
Example response
{
"external_id": "17841479809129315",
"id": "sacc_xxxxxxxxxxxxxx",
"name": "Shine Time Detail",
"parent_social_account": {
"external_id": "page_1",
"id": "sacc_xxxxxxxxxxxxxx",
"name": "Shine Time Auto Detailing",
"platform": "facebook",
"profile_picture_url": "https://shinetime.example/logo.png",
"username": "shinetimedetailing",
"verified": true
},
"platform": "instagram",
"profile_picture_url": "https://shinetime.example/instagram.png",
"scopes": [
"advertise"
],
"url": "https://instagram.com/shinetimedetail",
"username": "shinetimedetail",
"verified": true
}Changes
- warning
added the new
stripeenum value to theparent_social_account/oneOf[#/components/schemas/SocialAccountParent]/platformresponse property for the response status - warning
added the new
stripeenum value to theplatformresponse property for the response status
- warning
- info
added
aimercefacebookklaviyotiktokmapping keys to the request discriminator
- info