Skip to main content
Use the Forums API to publish posts, comment on existing threads, and react to posts inside a Whop community’s forum experience. Forum content is scoped by experience_id, so each forum tile in a community sidebar is a separate experience.

Initialize the SDK

Create a post

Posts support Markdown. Optional fields let you pin the post, paywall it, or mark it as a mention.

Read posts

List operations auto-paginate.

Comment on a post

Comments are posts with a parent_id. Fetch them by passing the parent’s ID to list.

Like a post

Forum reactions are always :heart:. Chat messages accept any emoji, but forum reactions ignore other values.

Advanced features

Pinned posts

Pinned posts appear above the feed. Set pinned: true on create.

Mention users

Use <@username> inline. Mentioned users get notified.

Paywalled posts

paywall_amount is in cents. Readers must pay to see the full content.

Pagination with cursors

Beyond auto-pagination, you can step through pages manually using the cursor returned on each response.

Required permissions

Add these to your app’s permission list from the Permissions guide before publishing.
Full schema: see the Forum posts API reference.

Next steps

Build a chat bot

Pair forum posts with live chat messages in the same community.

Listen to events with webhooks

React to forum posts and comments in realtime on your server.

Send notifications

Push users back to your forum when there’s something new.

Upload files

Attach images and videos to posts.