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

# Interaktion med kursuslektion

> En registrering af en brugers fremskridt i en bestemt lektion, der sporer, om brugeren har fuldført den.

```json Example theme={null}
{
	"completed": true,
	"course": {
		"experience": {
			"id": "exp_xxxxxxxxxxxxxx"
		},
		"id": "cors_xxxxxxxxxxxxx",
		"title": "Introduction to Technical Analysis"
	},
	"created_at": "2023-12-01T05:00:00.401Z",
	"id": "crsli_xxxxxxxxxxxx",
	"lesson": {
		"chapter": {
			"id": "chap_xxxxxxxxxxxxx"
		},
		"id": "lesn_xxxxxxxxxxxxx",
		"title": "Understanding Candlestick Patterns"
	},
	"user": {
		"id": "user_xxxxxxxxxxxxx",
		"name": "John Doe",
		"username": "johndoe42"
	}
}
```

**completed** `boolean` *required*

Om brugeren har afsluttet denne lektion.

**course** `object` *required*

Det kursus, der indeholder den sporede lektion.

**underordnede attributter**

**experience** `object` *required*

Den overordnede oplevelse, som dette kursus tilhører.

**underordnede attributter**

**id** `string` *required*

Den unikke identifikator for oplevelsen.

Eksempel: `exp_xxxxxxxxxxxxxx`

**id** `string` *required*

Den unikke identifikator for kurset.

Eksempel: `cors_xxxxxxxxxxxxx`

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

Kursets visningsnavn, som vises for studerende. Null, hvis der ikke er angivet nogen titel.

Eksempel: `Introduction to Technical Analysis`

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

Dato og klokkeslæt, hvor lektionsinteraktionen blev oprettet.

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

**id** `string` *required*

Den unikke identifikator for lektionsinteraktionen.

Eksempel: `crsli_xxxxxxxxxxxx`

**lesson** `object` *required*

Den lektion, som denne fremskridtsregistrering tilhører.

**underordnede attributter**

**chapter** `object` *required*

Det overordnede kapitel, der indeholder denne lektion.

**underordnede attributter**

**id** `string` *required*

Den unikke identifikator for kapitlet.

Eksempel: `chap_xxxxxxxxxxxxx`

**id** `string` *required*

Den unikke identifikator for lektionen.

Eksempel: `lesn_xxxxxxxxxxxxx`

**title** `string` *required*

Lektionens visningsnavn, som vises for studerende. Maksimalt 120 tegn.

Eksempel: `Understanding Candlestick Patterns`

**user** `object` *required*

Den bruger, hvis fremskridt spores.

**underordnede attributter**

**id** `string` *required*

Den unikke identifikator for brugeren.

Eksempel: `user_xxxxxxxxxxxxx`

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

Brugerens visningsnavn, som vises på den offentlige profil.

Eksempel: `John Doe`

**username** `string` *required*

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

Eksempel: `johndoe42`


## Related topics

- [Courselessoninteraction completed](https://docs.whop.com/da/api-reference/legacy/course-lesson-interactions/courselessoninteraction-completed.md)
- [Retrieve course lesson interaction](https://docs.whop.com/da/api-reference/legacy/course-lesson-interactions/retrieve-course-lesson-interaction.md)
- [List course lesson interactions](https://docs.whop.com/da/api-reference/legacy/course-lesson-interactions/list-course-lesson-interactions.md)
