Social Accounts

Deprecated compatibility endpoint. Returns the social account unchanged.

post/social_accounts/{id}/refresh

Request

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

Path parameters

id, string required

The social account (a sacc_ identifier) to refresh.

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

object required
account_id, string

The Account (biz_ identifier) the external account is connected to. An account-scoped API key may omit this to default to its own account.

Example request

{
  "account_id": "biz_xxxxxxxxxxxxxx"
}

Response

the social account, unchanged, through the deprecated path

SocialAccount required
external_id, string nullable required

The platform-specific ID for this social account.

id, string required

Unique identifier for the social account.

name, string nullable required

The display name of the social account on the platform.

parent_social_account, SocialAccountParent nullable required
partnership_status, string nullable required

Always null. Partnership ads are no longer available.

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

The platform the social account exists on.

profile_picture_url, string nullable required

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

scopes, string[] required
url, string nullable required

The URL where the social 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 social 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 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 stripe enum value to the parent_social_account/oneOf[#/components/schemas/SocialAccountParent]/platform response property for the response status

    • warning

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

    • breaking

      removed the required property error from the response with the status