Reviews

Lists the published reviews for a product or account. Without account_id or product_id, a user lists the reviews they wrote, an account or app API key lists its account's reviews, and a request without credentials returns 400.

get/reviews

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Query parameters

account_id, string
Example:biz_xxxxxxxxxxxxxx

The unique identifier of the account to list reviews for.

product_id, string
Example:prod_xxxxxxxxxxxxx

The unique identifier of the product to list reviews for.

min_stars, integer

The minimum star rating to include in results, from 1 to 5 inclusive.

max_stars, integer

The maximum star rating to include in results, from 1 to 5 inclusive.

created_before, string date-time

Only return reviews created before this timestamp.

created_after, string date-time

Only return reviews created after this timestamp.

order, 'created_at' | 'stars'

The field to sort reviews by.

direction, 'asc' | 'desc'

The sort direction.

first, integer

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

after, string

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

last, integer

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

before, string

Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.

include_total_count, boolean

Set to true to return the number of matching results in page_info.total_count. Send first=0 as well to return the count without any results.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

Reviews for the product

object required
data, ReviewListItem[] required
page_info, object required

Example response

{
  "data": [
    {
      "attachments": [
        {
          "content_type": "image/png",
          "filename": "coated-hood.png",
          "id": "file_xxxxxxxxxxxxxx",
          "url": "https://img.whop.com/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/mb:180000/plain/https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/review-coated-hood"
        }
      ],
      "created_at": "2026-01-01T12:00:00.000Z",
      "description": "Two years on and the paint still beads like the day it was coated.",
      "id": "rev_xxxxxxxxxxxxxx",
      "joined_at": "2026-01-01T12:00:00.000Z",
      "paid_for_product": true,
      "published_at": "2026-01-01T12:00:00.000Z",
      "stars": 4,
      "status": "published",
      "title": "Worth every penny",
      "updated_at": "2026-01-01T12:00:00.000Z",
      "user": {
        "id": "user_xxxxxxxxxxxxxx",
        "name": "Dana Whitfield",
        "username": "danawhitfield"
      }
    }
  ],
  "page_info": {
    "start_cursor": "WyJjdXJzb3IiLDFd"
  }
}

Changes

    • info

      added the new optional query request parameter include_total_count

    • info

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

    • info

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