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

# Notifications API

> En Notification er en besked, der leveres til en bruger, såsom et nyt opslag, en betaling eller en omtale.

Hver notifikation kommer fra en experience, som brugeren tilhører, eller et team, de er med i, og hører under et emne, såsom nye salg, som brugere kan angive præferencer for.

Brug Notifications API'et til at vise en brugers feed, læse og rydde ulæste badges, sende notifikationer fra din app til en experiences brugere eller en kontos team og vise emnekataloget, som notifikationspræferencer refererer til.

## Endpoints

| Endpoint | Anmodning |
| - | - |
| [Vis notifikationer](https://docs.whop.com/da/api-reference/notifications/list-notifications.md) | GET `/notifications` |
| [Hent notifikation](https://docs.whop.com/da/api-reference/notifications/retrieve-notification.md) | GET `/notifications/{id}` |
| [Vis notifikationsbadges](https://docs.whop.com/da/api-reference/notifications/list-notification-badges.md) | GET `/notifications/badges` |
| [Vis notifikationsemner](https://docs.whop.com/da/api-reference/notifications/list-notification-topics.md) | GET `/notifications/topics` |
| [Send notifikation](https://docs.whop.com/da/api-reference/notifications/send-notification.md) | POST `/notifications` |
| [Marker notifikationer som læst](https://docs.whop.com/da/api-reference/notifications/mark-notifications-read.md) | POST `/notifications/mark_read` |

## Attributter

**id** `string` *required*

Notifikations-ID. Feed-rækker har et sammensat id, der også fungerer som
listens cursor.

**account** `object | null` *required*

Kontoen, som notifikationen tilhører. `null`, når notifikationen ikke er knyttet til en konto.

> [accordion] Egenskaber
>
> **id** `string` *required*
>
> Konto-ID med præfikset `biz_`.
>
> **logo\_url** `string | null` *required*
>
> URL til kontoens logobillede. `null`, når kontoen ikke har uploadet et.
>
> **route** `string | null` *required*
>
> URL-slug for kontoens butiksside på whop.com.
>
> **title** `string` *required*
>
> Kontoens visningsnavn.

**attachment\_url** `string` *required*

Billede, der vises sammen med notifikationen — afsenderens avatar eller
standardbilledet for notifikationer.

**content** `string` *required*

Notifikationens brødtekst, der vises for brugeren.

**created\_at** `string` *required*

Hvornår notifikationen blev oprettet, som et ISO 8601-tidsstempel.

**experience** `object | null` *required*

Experiencen, som notifikationen vedrører. `null`, når den ikke er knyttet til en bestemt experience.

> [accordion] Egenskaber
>
> **id** `string` *required*
>
> Experience-ID med præfikset `exp_`.
>
> **app** `object | null` *required*
>
> Appen, som experiencen tilhører.
>
> > [accordion] Egenskaber
> >
> > **id** `string` *required*
> >
> > App-ID med præfikset `app_`.
> >
> > **icon\_url** `string` *required*
> >
> > URL til ikonbillede. Altid til stede — standardapp-ikonet, når der ikke er uploadet et.
>
> **name** `string | null` *required*
>
> Experiencens visningsnavn.

**iframe\_link** `string | null` *required*

Samme destination på appens eget domæne, som Whops web- og mobilklienter
indlejrer i stedet for at navigere til den. Kun relevant, hvis du selv
renderer Whop-apps. `null`, når notifikationen har sit eget `link`.

**link** `string | null` *required*

Den whop.com-side, notifikationen åbner, som en normal navigation på øverste
niveau. Det er dette link, du skal bruge, medmindre du selv hoster Whop-apps.
`null`, når notifikationen ikke har nogen klikdestination.

**mentions\_me** `boolean` *required*

Om den godkendte bruger blev omtalt direkte i denne notifikation.

**rest\_path** `string | null` *required*

Yderligere stiinformation, der tilføjes til notifikationens deep link, hvis der er nogen.

**sender** `object | null` *required*

Brugeren, der udløste notifikationen. `null`, når den er systemgenereret.

> [accordion] Egenskaber
>
> **id** `string` *required*
>
> Bruger-ID med præfikset `user_`.
>
> **name** `string | null` *required*
>
> Visningsnavn.
>
> **username** `string` *required*
>
> Offentligt brugernavn.

**subject** `string` *required*

Notifikationens titellinje, der vises for brugeren.

**topic** `object | null` *required*

Emnekategorien, som notifikationen tilhører, bruges til gruppering og administration af præferencer. `null`, når den ikke er kategoriseret.

> [accordion] Egenskaber
>
> **id** `string` *required*
>
> Notifikationsemne-ID med præfikset `topic_`.
>
> **default\_preference\_value** `boolean` *required*
>
> Om notifikationer for dette emne er slået til som standard, når brugeren ikke
> har angivet en præference.
>
> **is\_mention** `boolean` *required*
>
> Om dette emne udelukkende håndterer omtalebaserede notifikationer.
>
> **topic\_type** `string` *required*
>
> Emnets omfang: om det gælder for en konto, en bruger eller en kontos team.
>
> Tilgængelige muligheder: `account`, `user`, `account_team`

```json Notification theme={null}
{
	"id": "ntfr_xxxxxxxxxxxxxx:xxxxxxxxxxxxx",
	"account": {
		"id": "biz_xxxxxxxxxxxxxx",
		"logo_url": "https://whop-assets-example.s3.amazonaws.com/uploads/image/2026-01-01/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
		"route": "shine-time-auto-detailing",
		"title": "Shine Time Auto Detailing"
	},
	"content": "Tuesday 9:00 AM, Bay 2",
	"created_at": "2026-09-15T14:30:00.000Z",
	"experience": {
		"id": "exp_xxxxxxxxxxxxxx",
		"app": {
			"id": "app_xxxxxxxxxxxxxx",
			"icon_url": "https://pub-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.r2.dev/custom-perk-icon.svg"
		},
		"name": "Bookings"
	},
	"iframe_link": "https://whopappdomain0000001.apps.whop.com/experiences/exp_xxxxxxxxxxxxxx/bookings/upcoming",
	"link": "https://whop.com/joined/shine-time-auto-detailing/bookings-xxxxxxxxxxxxxx/app/bookings/upcoming/",
	"mentions_me": false,
	"rest_path": "/bookings/upcoming",
	"sender": {
		"id": "user_xxxxxxxxxxxxxx",
		"name": "Tanya Cole",
		"username": "tanyacole"
	},
	"subject": "Your ceramic coating is booked",
	"topic": {
		"id": "topic_xxxxxxxxxxxxxx",
		"default_preference_value": true,
		"is_mention": false,
		"topic_type": "user"
	},
	"attachment_url": "https://ui-avatars.com/api/?name=Tanya+Cole"
}
```


## Related topics

- [Create notification](https://docs.whop.com/da/api-reference/legacy/notifications/create-notification.md)
- [List Notifications](https://docs.whop.com/da/api-reference/notifications/list-notifications.md)
- [Retrieve Notification](https://docs.whop.com/da/api-reference/notifications/retrieve-notification.md)
