> ## 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.

# Forumindlæg

> Et indlæg eller en kommentar i et forumfeed med understøttelse af formateret tekst, vedhæftninger, afstemninger og reaktioner.

```json Example theme={null}
{
	"attachments": [
		{
			"content_type": "image/jpeg",
			"filename": "document.pdf",
			"id": "<string>",
			"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",
	"id": "<string>",
	"is_edited": true,
	"is_pinned": true,
	"is_poster_admin": true,
	"like_count": 42,
	"parent_id": "<string>",
	"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
}
```

**attachments** `array\<object\>` *required*

Alle filvedhæftninger på dette indlæg, såsom billeder, dokumenter og videoer.

**underordnede attributter**

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

Den uploadede fils MIME-type, såsom image/jpeg, video/mp4 eller audio/mpeg.

Eksempel: `image/jpeg`

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

Det oprindelige filnavn på den uploadede vedhæftning, inklusive filtypenavnet.

Eksempel: `document.pdf`

**id** `string` *required*

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

En foroptimeret URL til visning af denne vedhæftning på klienten. Denne bør bruges til at vise vedhæftninger i apps.

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

**comment\_count** `integer` *required*

Det samlede antal direkte kommentarer på dette indlæg.

Eksempel: `42`

**content** `string | null` *required*

Forumindlæggets brødtekst i Markdown-format. Null, hvis indlægget er bag en betalingsmur, og den aktuelle bruger ikke har adgang.

Eksempel: `## My Strategy Here are the key steps...`

**created\_at** `string\<date-time\>` *required*

Tidspunktet, hvor dette indlæg blev oprettet, som Unix-tidsstempel.

Eksempel: `2023-12-01T05:00:00.401Z`

**id** `string` *required*

**is\_edited** `boolean` *required*

Om dette indlæg er blevet redigeret efter den første oprettelse.

**is\_pinned** `boolean` *required*

Om dette indlæg er fastgjort øverst i forumfeedet.

**is\_poster\_admin** `boolean` *required*

Om forfatteren af dette indlæg er administrator i den virksomhed, der ejer
forummet.

**like\_count** `integer | null` *required*

Det samlede antal synes-godt-om-reaktioner, som dette indlæg har modtaget.

Eksempel: `42`

**parent\_id** `string | null` *required*

Den unikke identifikator for det overordnede indlæg. Null, hvis dette er et indlæg på øverste niveau.

**title** `string | null` *required*

Forumindlæggets overskrift. Null, hvis indlægget ikke har en titel.

Eksempel: `Weekly Market Analysis - February 2025`

**updated\_at** `string\<date-time\>` *required*

Tidspunktet, hvor dette indlæg sidst blev opdateret, som Unix-tidsstempel.

Eksempel: `2023-12-01T05:00:00.401Z`

**user** `object` *required*

Brugeren, der har skrevet dette forumindlæg.

**underordnede attributter**

**id** `string` *required*

Den unikke identifikator for brugeren.

Eksempel: `user_xxxxxxxxxxxxx`

**name** `string | null` *required*

Brugerens visningsnavn, som vises på deres offentlige profil.

Eksempel: `John Doe`

**username** `string` *required*

Brugerens unikke brugernavn, som vises på deres offentlige profil.

Eksempel: `johndoe42`

**view\_count** `integer | null` *required*

Det samlede antal gange, dette indlæg er blevet set af brugere.

Eksempel: `42`


## Related topics

- [Fora](https://docs.whop.com/da/developer/guides/forums.md)
- [Create forum post](https://docs.whop.com/da/api-reference/legacy/forum-posts/create-forum-post.md)
- [List forum posts](https://docs.whop.com/da/api-reference/legacy/forum-posts/list-forum-posts.md)
