> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Forum

> Un forum de discussion où les membres peuvent créer des publications, commenter et réagir, rattaché à une expérience.

```json Example theme={null}
{
	"banned_words": ["<string>"],
	"banner_image": {
		"content_type": "image/jpeg",
		"filename": "document.pdf",
		"id": "<string>",
		"url": "https://media.whop.com/abc123/optimized.jpg"
	},
	"email_notification_preference": "all_admin_posts",
	"experience": {
		"id": "exp_xxxxxxxxxxxxxx",
		"is_public": true,
		"name": "Trading Signals Chat"
	},
	"id": "<string>",
	"who_can_comment": "everyone",
	"who_can_post": "everyone"
}
```

**banned\_words** `array\<string\>` *required*

Une liste de mots automatiquement filtrés des publications de ce forum.

**banner\_image** `object | null` *required*

L'image de bannière affichée en haut de la page du forum. Null si aucune bannière n'a été téléversée.

**attributs enfants**

**content\_type** `string | null` *required*

Type MIME du fichier téléversé, par exemple image/jpeg, video/mp4 ou audio/mpeg.

Exemple : `image/jpeg`

**filename** `string | null` *required*

Le nom de fichier d'origine de la pièce jointe téléversée, extension comprise.

Exemple : `document.pdf`

**id** `string` *required*

**url** `string | null` *required*

Une URL pré-optimisée pour afficher cette pièce jointe côté client. Elle doit être utilisée pour afficher les pièces jointes dans les applications.

Exemple : `https://media.whop.com/abc123/optimized.jpg`

**email\_notification\_preference** `ForumEmailNotificationPreferences` *required*

Le paramètre de notification par e-mail qui détermine quelles publications déclenchent des alertes par e-mail. L'une des valeurs : all\_admin\_posts, only\_weekly\_summary, none.

Options disponibles : `all_admin_posts`, `only_weekly_summary`, `none`

**experience** `object` *required*

L'expérience parente à laquelle appartient ce forum.

**attributs enfants**

**id** `string` *required*

L'identifiant unique de l'expérience.

Exemple : `exp_xxxxxxxxxxxxxx`

**is\_public** `boolean` *required*

Indique si cette expérience est visible publiquement par tous les utilisateurs, y compris ceux sans adhésion.

**name** `string` *required*

Le nom d'affichage de cette expérience présenté aux utilisateurs dans la navigation du produit. 255 caractères maximum.

Exemple : `Trading Signals Chat`

**id** `string` *required*

L'identifiant unique de l'entité

**who\_can\_comment** `ForumWhoCanCommentTypes` *required*

Le niveau de permission qui détermine qui peut commenter les publications. L'une des valeurs : everyone, admins.

Options disponibles : `everyone`, `admins`

**who\_can\_post** `ForumWhoCanPostTypes` *required*

Le niveau de permission qui détermine qui peut créer de nouvelles publications. L'une des valeurs : everyone, admins.

Options disponibles : `everyone`, `admins`
