v8

OpenAPI 3.1.02026-08-033623795.0 MB
Forum posts

List forum posts

Returns a paginated list of forum posts within a specific experience, with optional filtering by parent post or pinned status.

Required permissions:

  • forum:read
get/forum_posts

Query parameters

afterstring nullable

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

beforestring nullable

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

firstinteger nullable

Returns the first n elements from the list.

Example:42
lastinteger nullable

Returns the last n elements from the list.

Example:42
experience_idstring required

The unique identifier of the experience to list forum posts for.

Example:exp_xxxxxxxxxxxxxx
include_bounty_anchorsboolean nullable

Whether to include top-level bounty discussion anchors as rich forum items.

parent_idstring nullable

The unique identifier of a parent post to list comments for. When set, returns replies to that post.

pinnedboolean nullable

Whether to filter for only pinned posts. Set to true to return only pinned posts.

Response

A successful response

Example response

{
  "data": [
    {
      "attachments": [
        {
          "content_type": "image/jpeg",
          "filename": "document.pdf",
          "url": "https://media.whop.com/abc123/optimized.jpg"
        }
      ],
      "comment_count": 42,
      "content": "## My Strategy\n\nHere are the key steps...",
      "created_at": "2023-12-01T05:00:00.401Z",
      "like_count": 42,
      "title": "Weekly Market Analysis - February 2025",
      "updated_at": "2023-12-01T05:00:00.401Z",
      "user": {
        "id": "user_xxxxxxxxxxxxx",
        "name": "John Doe",
        "username": "johndoe42"
      },
      "view_count": 42
    }
  ]
}