Refresh
Changed onDeprecated. Returns the external account unchanged.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Path parameters
The external account (a sacc_ identifier) to refresh.
Headers
Pins the request to a dated API version.
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
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 external account, unchanged
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.
The platform-specific ID for this external account.
Unique identifier for the external account.
The display name of the external account on the platform.
Always null. Partnership ads are no longer available.
The platform the external account exists on.
The URL where the profile picture of the external account can be accessed.
The URL where the external account can be accessed on the platform. Null while a Whop-owned account is still being provisioned.
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.
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
stripeenum value to theparent_external_account/oneOf[#/components/schemas/ExternalAccountParent]/platformresponse property for the response status - warning
added the new
stripeenum value to theplatformresponse property for the response status - info
added the required property
connection_statusto the response with the status
- warning