External Accounts

Create an External Account

Changed on

Creates or returns a Whop-managed TikTok account for an account, or connects the account's existing Klaviyo account with a private API key. Whop no longer creates Facebook pages.

post/external_accounts

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Idempotency-Key, string
Example:d9105228-4a08-46b1-8b91-42fed586d383

A unique key that makes this request safe to retry. See Idempotent requests.

Request body

union required
CreateFacebookExternalAccount required

Whop no longer creates Facebook pages, so this returns a facebook_page_provisioning_retired error.

OR
CreateTiktokExternalAccount required

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.

OR
CreateKlaviyoExternalAccount required

Connects the account's existing Klaviyo account with a private API key.

OR
CreateAimerceExternalAccount required

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

external account created

ExternalAccount required
connection_status, 'null' | 'active' | 'reconnect_required' nullable required

Connection health of the external account. reconnect_required means the platform refused Whop's access, and the owner must connect the account again. active means Whop has not seen a refusal. Whop checks only Stripe connections for a refusal. null when Whop holds no access for the account, for example a claimed profile.

external_id, string nullable required

The platform-specific ID for this external account.

id, string required

Unique identifier for the external account.

name, string nullable required

The display name of the external account on the platform.

parent_external_account, ExternalAccountParent nullable required
partnership_status, string nullable required

Always null. Partnership ads are no longer available.

platform, 'x' | 'instagram' | 'youtube' | 'tiktok' | 'facebook' | 'linkedin' | 'snapchat' | 'klaviyo' | 'quickbooks' | 'aimerce' | 'stripe' required

The platform the external account exists on.

profile_picture_url, string nullable required

The URL where the profile picture of the external account can be accessed.

scopes, string[] required
url, string nullable required

The URL where the external account can be accessed on the platform. Null while a Whop-owned account is still being provisioned.

username, string nullable required

The username of the external account on the platform. Null while a Whop-owned account is still being provisioned, and on platforms without usernames, such as Klaviyo.

verified, boolean required

Whether the external account is verified on the platform.

Example response

{
  "connection_status": "active",
  "external_id": "creator-id",
  "id": "sacc_xxxxxxxxxxxxxx",
  "name": "Shine Time Auto Detailing",
  "parent_external_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": "tiktok",
  "profile_picture_url": "https://shinetime.example/tiktok-profile.png",
  "scopes": [
    "advertise"
  ],
  "url": "https://tiktok.com/@shinetimedetail",
  "username": "shinetimedetail"
}

Changes

    • warning

      added the new stripe enum value to the parent_external_account/oneOf[#/components/schemas/ExternalAccountParent]/platform response property for the response status

    • warning

      added the new stripe enum value to the platform response property for the response status

    • info

      added the required property connection_status to the response with the status