Forums

Returns a paginated list of forums for an account, with optional filtering by product.

Required permissions:

  • forum:read
get/forums

Request

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

Query parameters

after, string

Returns the elements in the list that come after the specified cursor.

before, string

Returns the elements in the list that come before the specified cursor.

first, integer

Returns the first n elements from the list.

Example:42
last, integer

Returns the last n elements from the list.

Example:42
product_id, string

The unique identifier of a product to filter by. When set, only forums connected to this product are returned.

Example:prod_xxxxxxxxxxxxx
account_id, string required

The unique identifier of the company to list forums for.

Example:biz_xxxxxxxxxxxxxx

Response

A successful response

object required

The connection type for ForumFeed.

data, ForumListItem[] required

A list of nodes.

page_info, PageInfo required

Information to aid in pagination.

Example response

{
  "data": [
    {
      "experience": {
        "id": "exp_xxxxxxxxxxxxxx",
        "name": "Detailing Tips Chat"
      }
    }
  ]
}

Changes

    • breaking

      added the new required query request parameter account_id

    • warning

      deleted the query request parameter company_id

    • info

      added the required property data/items/experience/is_public to the response with the status