---
title: "Connect an External Account"
method: POST
path: "/external_accounts/connect"
tags: ["External Accounts"]
---

# Connect an External Account

`POST /external_accounts/connect`

## Request

- Base URL: `https://api.whop.com/api/v1`
- URL: `https://api.whop.com/api/v1/external_accounts/connect`
- Auth: HTTP bearer

Starts an OAuth connection flow and returns an `authorize_url` to send the user to, where they connect an external account. Personal profile connections must be completed in a browser signed in as the Whop user who started the flow.

## Headers

- `Api-Version-Date` string
- `Idempotency-Key` string

## Request body

- object
  - `account_id` string: The Account (biz_ identifier) to connect the external account for. An account-scoped API key may omit this to default to its own account. Omit for user profile connections.
  - `platform` 'tiktok' | 'linkedin' | 'youtube' | 'x' | 'quickbooks' | 'stripe', required: The platform to connect the external account on. Use `tiktok` to connect the authenticated user’s TikTok profile, `linkedin` for their LinkedIn profile, `youtube` for their YouTube channel, or `x` for their X profile. Use `quickbooks` to connect the account’s QuickBooks Online company: pass `account_id`, and the user picks the company in QuickBooks. Use `stripe` to let Whop read the past payments of the account’s Stripe account: pass `account_id`, and the user installs Whop’s app in Stripe. It requires the `payout:account:update` scope instead of `social_account:create`.
  - `redirect_url` string, required: Where to send the user once they finish connecting their accounts. Must be an `https` URL on whop.com; any other host is rejected. On success, the user is redirected with an `external_account_connected` query param naming the platform; if the connection fails, with an `external_account_error` query param instead. The same values also arrive as `social_account_connected` / `social_account_error`.

## Response `200`

authorize url returned

- object
  - `authorize_url` string, required: The OAuth authorization URL to redirect the user to.

## Other responses

- `400`: Invalid Parameters
- `401`: Unauthorized
- `409`: Conflict

## Changes

- **2026-11-23** `381668bc8a5a`: 1 info
  - added the new `stripe` enum value to the request property `platform`
- **2026-11-02** `ad4a9878cf0c`: 1 breaking, 1 warning
  - removed the enum value `snapchat` of the request property `platform`
  - removed the request property `scopes`
- **2026-10-30** `042ca54050a6`: 1 breaking
  - removed the enum value `meta_business` of the request property `platform`
- **2026-10-28** `ee3f6ea6d104`: 1 info
  - added the new `quickbooks` enum value to the request property `platform`
- **2026-10-15** `a176ee8d6ff9`: 1 info
  - added the new `x` enum value to the request property `platform`

[Operation history](https://skmtc.dev/whop/apis/whop-api/changes/external_accounts/connect/post.md)

---

[API](https://skmtc.dev/whop/apis/whop-api.md) - [All operations](https://skmtc.dev/whop/apis/whop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/whop/apis/whop-api/revisions/b10d1ab093e8?raw)
