---
title: "List forum posts"
method: GET
path: "/forum_posts"
tags: ["Forum posts"]
---

# List forum posts

`GET /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`

## Query parameters

- `after` string, nullable — Returns the elements in the list that come after the specified cursor.
- `before` string, nullable — Returns the elements in the list that come before the specified cursor.
- `first` integer, nullable — Returns the first _n_ elements from the list.
- `last` integer, nullable — Returns the last _n_ elements from the list.
- `experience_id` string, required — The unique identifier of the experience to list forum posts for.
- `include_bounty_anchors` boolean, nullable — Whether to include top-level bounty discussion anchors as rich forum items.
- `parent_id` string, nullable — The unique identifier of a parent post to list comments for. When set, returns replies to that post.
- `pinned` boolean, nullable — Whether to filter for only pinned posts. Set to true to return only pinned posts.

## Response `200`

A successful response

- object — The connection type for ForumPost.
  - `data` ForumPostListItem[], required — A list of nodes.
    - `attachments` object[], required — All file attachments on this post, such as images, documents, and videos.
      - `content_type` string, nullable, required — Uploaded file MIME type, such as image/jpeg, video/mp4, or audio/mpeg.
      - `filename` string, nullable, required — The original filename of the uploaded attachment, including its file extension.
      - `id` string, 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.
      - `url` string, nullable, required — A pre-optimized URL for rendering this attachment on the client. This should be used for displaying attachments in apps.
    - `comment_count` integer, required — The total number of direct comments on this post.
    - `content` string, 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_at` string, date-time, required — The time this post was created, as a Unix timestamp.
    - `id` string, 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_edited` boolean, required — Whether this post has been edited after its initial creation.
    - `is_pinned` boolean, required — Whether this post is pinned to the top of the forum feed.
    - `is_poster_admin` boolean, required — Whether the author of this post is an admin of the company that owns the forum.
    - `like_count` integer, nullable, required — The total number of like reactions this post has received.
    - `parent_id` string, nullable, required — The unique identifier of the parent post. Null if this is a top-level post.
    - `title` string, nullable, required — The headline of the forum post. Null if the post has no title.
    - `updated_at` string, date-time, required — The time this post was last updated, as a Unix timestamp.
    - `user` object, required — The user who authored this forum post.
      - `id` string, required — The unique identifier for the user.
      - `name` string, nullable, required — The user's display name shown on their public profile.
      - `username` string, required — The user's unique username shown on their public profile.
    - `view_count` integer, nullable, required — The total number of times this post has been viewed by users.
  - `page_info` PageInfo, required — Information about pagination in a connection.
    - `end_cursor` string, nullable, required — When paginating forwards, the cursor to continue.
    - `has_next_page` boolean, required — When paginating forwards, are there more items?
    - `has_previous_page` boolean, required — When paginating backwards, are there more items?
    - `start_cursor` string, nullable, required — When paginating backwards, the cursor to continue.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Verification required
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.net/whop/apis/whop-api.md) · [All operations](https://skmtc.net/whop/apis/whop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/whop/whop-api/versions/866821546d67/schema)
