Social Accounts

List Social Account Partners

Changed on

Deprecated compatibility endpoint. List partners with GET /external_accounts/{external_account_id}/partners instead.

get/social_accounts/{id}/partners

Request

  • Base URL: https://api.whop.com/api/v1
  • URL: https://api.whop.com/api/v1/social_accounts/{id}/partners
  • Auth: HTTP bearer

Query parameters

account_idstring

The Account (biz_ identifier) that advertises as the Instagram account. An account-scoped API key may omit this to default to its own account.

firstinteger

Number of results to return from the start of the range.

afterstring

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

Response

partners 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

      removed the non-success response with the status

    • info

      endpoint added