List Social Accounts
Changed onDeprecated compatibility endpoint. List external accounts with GET /external_accounts instead.
Request
- Base URL: https://api.whop.com/api/v1
- URL: https://api.whop.com/api/v1/social_accounts
- Auth: HTTP 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.
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.
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
},
"partnership_status": "pending",
"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
- info
endpoint deprecated
- info
removed the non-success response with the status
- info
removed the non-success response with the status
- info
- info
added the new optional
queryrequest parametertrust_level
- info