Skip to main content
GET
/
forums
/
{id}
JavaScript
import Whop from '@whop/sdk';

const client = new Whop({
  appID: 'app_xxxxxxxxxxxxxx',
  apiKey: 'My API Key',
});

const forum = await client.forums.retrieve('id');

console.log(forum.id);
{
  "id": "<string>",
  "experience": {
    "id": "exp_xxxxxxxxxxxxxx",
    "name": "<string>"
  },
  "who_can_post": "everyone",
  "who_can_comment": "everyone",
  "email_notification_preference": "all_admin_posts"
}

Authorizations

Authorization
string
header
required

The app API key from an app from the /dashboard/developer page

Path Parameters

id
string
required

Response

A successful response

Represents a forum feed

id
string
required

The unique identifier for the entity

experience
object
required

The experience for this forum

who_can_post
enum<string>
required

Who can post on this forum

Available options:
everyone,
admins
who_can_comment
enum<string>
required

Who can comment on this forum

Available options:
everyone,
admins
email_notification_preference
enum<string>
required

The email notification preference for this forum

Available options:
all_admin_posts,
only_weekly_summary,
none
I