Social Accounts

List Social Account Posts

Changed on

Deprecated compatibility endpoint. List posts with GET /external_accounts/{id}/posts instead.

get/social_accounts/{id}/posts

Request

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

Query parameters

account_idstring required
post_idstring
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

posts listed through the deprecated path

Example response

{
  "data": [
    {
      "call_to_action": "shop_now",
      "caption": "Ceramic coating in action",
      "destination_url": "https://shinetime.example/book",
      "embed_url": "https://www.facebook.com/plugins/post.php",
      "id": "media_1",
      "media_url": "https://shinetime.example/ceramic-coating-reel.mp4",
      "restrictions": [
        "lead_form_ineligible"
      ],
      "thumbnail_url": "https://shinetime.example/ceramic-coating-poster.jpg",
      "video_id": "18000000000000000"
    }
  ]
}

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

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status