External Accounts

List External Accounts

Changed on

Lists the external accounts linked to an account or user.

get/external_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

filtered to accounts holding the requested scope

object required
data, ExternalAccount[] required
page_info, object required

Example response

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

Changes

    • warning

      added the new stripe enum value to the data/items/parent_external_account/oneOf[#/components/schemas/ExternalAccountParent]/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

    1 more change in this revision