Social Accounts

List Social Accounts

Changed on

Deprecated compatibility endpoint. List external accounts with GET /external_accounts instead.

get/social_accounts

Request

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

Query parameters

account_id, string

The Account that the external accounts are connected to. Provide either this or user_id.

user_id, string

The User that the external accounts are connected to. Provide either this or account_id.

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

Only return external accounts for the platform that is specified. An aimerce account is returned only with this filter, which requires the company:manage_checkout scope instead of social_account:read. A stripe account is also returned only with this filter, which requires the payout:account:update scope.

trust_level, 'oauth' | 'api_key' | 'verified' | 'authorized' | 'claimed' | 'scraped'

Only return external accounts linked with this trust level, such as oauth for accounts connected through OAuth.

verified, boolean

Only return external accounts that are verified on the platform.

scopes, string[]

Only return external accounts that have these scopes.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

last, integer

Number of results to return from the end of the range.

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

order, 'display_order' | 'created_at'

The field to sort external accounts by.

direction, 'asc' | 'desc'

Sort direction.

Headers

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

Pins the request to a dated API version.

Response

social accounts listed through the deprecated path

object required
data, SocialAccount[] required
page_info, object required

Example response

{
  "data": [
    {
      "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
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • warning

      added the new stripe enum value to the data/items/parent_social_account/oneOf[#/components/schemas/SocialAccountParent]/platform response property for the response status

    • warning

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

    • info

      added the new enum value stripe to the query request parameter platform