latestOpenAPI 3.1.02026-08-193894215.9 MB
23dfbe1a0d1f
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
Returns the elements in the list that come after the specified cursor.
beforestring
Returns the elements in the list that come before the specified cursor.
firstinteger
Returns the first n elements from the list.
Example:42
lastinteger
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
Whether to include top-level bounty discussion anchors as rich forum items.
parent_idstring
The unique identifier of a parent post to list comments for. When set, returns replies to that post.
pinnedboolean
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
}
]
}