Create a Social Account
Creates or returns a Whop-managed Facebook page or TikTok account for an account.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"platform": "facebook"
}Response
social account created
Example response
{
"error": "You don't have permission to share this account. Ask an admin of its Meta Business Portfolio to grant you full control, then share it again.",
"external_id": "1234567891",
"id": "sacc_xxxxxxxxxxxxxx",
"name": "Shine Time Auto Detailing",
"parent_social_account": {
"external_id": "555111",
"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/logo.png",
"scopes": [
"advertise"
],
"url": "https://instagram.com/shinetimedetail",
"username": "shinetimedetail",
"verified": true
}Changes
Changed in 10 of the 74 revisions of this API.269
- ●
added the new
snapchatenum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
added the new
snapchatenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
- ●
added the new
linkedinenum value to the/////response property for the response statusresponse-property-enum-value-added
- ●
added the new
linkedinenum value to theresponse property for the response statusresponse-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
- ●
- ○
added the new
tiktokenum value to the request propertyrequest-property-enum-value-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the non-success response with the status
response-non-success-status-added
- ○
- ○
added the required property
to the response with the statusresponse-required-property-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
discordenum value to theresponse property for the response statusresponse-property-enum-value-added
- ●
added the new
telegramenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the new optional
headerrequest parameterIdempotency-Keynew-optional-request-parameter
- ○
added the required property
to the response with the statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
the response property
became nullable for the statusresponse-property-became-nullable
- ▲
Of the 74 revisions, 1 has no diff computed.