List Social Accounts
Changed onDeprecated compatibility endpoint. List external accounts with GET /external_accounts instead.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Query parameters
The Account that the external accounts are connected to. Provide either this or user_id.
The User that the external accounts are connected to. Provide either this or account_id.
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.
Only return external accounts linked with this trust level, such as oauth for accounts connected through OAuth.
Only return external accounts that are verified on the platform.
Only return external accounts that have these scopes.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
The field to sort external accounts by.
Sort direction.
Headers
Pins the request to a dated API version.
Response
social accounts listed through the deprecated path
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
stripeenum value to thedata/items/parent_social_account/oneOf[#/components/schemas/SocialAccountParent]/platformresponse property for the response status - warning
added the new
stripeenum value to thedata/items/platformresponse property for the response status - info
added the new enum value
stripeto thequeryrequest parameterplatform
- warning