v8

OpenAPI 3.1.02026-08-033623795.0 MB
Forum posts

Retrieve forum post

Retrieves the details of an existing forum post.

Required permissions:

  • forum:read
get/forum_posts/{id}

Path parameters

idstring required

The unique identifier of the forum post to retrieve.

Response

A successful response

comment_countinteger required

The total number of direct comments on this post.

contentstring nullable required

The body of the forum post in Markdown format. Null if the post is paywalled and the current user does not have access.

created_atstring date-time required

The time this post was created, as a Unix timestamp.

idstring required

Represents a unique identifier that is Base64 obfuscated. It is often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "VXNlci0xMA==") or integer (such as 4) input value will be accepted as an ID.

is_editedboolean required

Whether this post has been edited after its initial creation.

is_pinnedboolean required

Whether this post is pinned to the top of the forum feed.

is_poster_adminboolean required

Whether the author of this post is an admin of the company that owns the forum.

like_countinteger nullable required

The total number of like reactions this post has received.

parent_idstring nullable required

The unique identifier of the parent post. Null if this is a top-level post.

titlestring nullable required

The headline of the forum post. Null if the post has no title.

updated_atstring date-time required

The time this post was last updated, as a Unix timestamp.

view_countinteger nullable required

The total number of times this post has been viewed by users.

Example response

{
  "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
}