Skip to main content
Glama

ohneben's LearnWorlds MCP

Buy Me A Coffee


License & checks

CI License: MIT

MCP registries

MCP Registry Listed on mcpservers.org Learnworlds-MCP MCP server

Run your LearnWorlds school in plain language from AI assistants like Claude, Cursor, and any other MCP client.

This Model Context Protocol server exposes the LearnWorlds public API β€” all 94 endpoints, generated straight from the OpenAPI spec into MCP tools. Every tool is safety-categorized (🟒 read-only / 🟑 write / πŸ”΄ destructive) so your assistant knows what an action does before it calls it. It runs over stdio (Claude Desktop and other local launchers) or Streamable HTTP (hosted in Docker), and ships with retries, client-side rate limiting, and request timeouts so it holds up against a live school.

Why you'll want this

Some MCP servers just forward an API. This one is built to be safe to hand to an LLM and easy to run for real:

What you get

Why it matters

All 94 endpoints, spec-driven

Full coverage of courses, users, enrollments, payments, subscriptions, coupons, certificates, seats, community and reporting β€” nothing hand-picked or left behind.

Every tool is safety-categorized 🟒 / 🟑 / πŸ”΄

A banner at the top of each tool description tells the model exactly what it does β€” read, create, update or delete β€” before it acts.

Descriptions written for agents, not humans

Every tool spells out its side effects, auth and rate-limit behavior, return shape, error codes, when not to reach for it, and which sibling tools are the alternatives.

Machine-readable MCP annotations (readOnlyHint, destructiveHint)

Hosts that honor annotations (Claude included) can auto-trust reads and demand confirmation before anything destructive.

Automatic retries with backoff

Transient 429 / 5xx responses are retried with jittered exponential backoff, honoring the server's Retry-After header.

Built-in rate limiting

Self-throttles under LearnWorlds' 30 requests / 10 s cap so a burst of tool calls never trips a 429.

Per-request timeouts

A hung upstream call is aborted and retried instead of freezing the server.

Two transports: stdio and Streamable HTTP

Use it locally in Claude Desktop, or run one always-on server that any number of MCP clients reach over HTTP.

Docker + docker-compose, health check, auto-restart

Production-style deployment out of the box: docker compose up and it stays up.

Bearer-token auth on the HTTP endpoint

Required as soon as the server is bound beyond loopback: without MCP_AUTH_TOKEN it refuses to start rather than exposing the API unprotected.

Your secrets never reach the model

Credentials live in the server's environment and are injected on every request β€” the assistant only ever sees tool inputs and API responses.

Drop-in spec updates

LearnWorlds ships a newer YAML? Replace one file and rebuild β€” new endpoints become new tools automatically, no code changes.

How it compares

At the time of writing this appears to be the only dedicated LearnWorlds MCP server. You could instead point a generic OpenAPI→MCP wrapper at the spec — here's what that leaves on the table:

Capability

This project

Generic OpenAPI→MCP wrapper*

All 94 LearnWorlds endpoints as tools

βœ…

βœ…

Per-tool 🟒 / 🟑 / πŸ”΄ safety category + banner

βœ…

❌

readOnlyHint / destructiveHint MCP annotations

βœ…

βž–

$ref dereferencing + recursion-safe schemas

βœ…

βž–

Automatic retries on 429 / 5xx (honors Retry-After)

βœ…

❌

Client-side rate limiting (stays under 30 req / 10 s)

βœ…

❌

Per-request timeout with abort

βœ…

βž–

stdio transport

βœ…

βœ…

Streamable-HTTP transport

βœ…

βž–

Docker + docker-compose, health check, auto-restart

βœ…

❌

Enforced bearer-token auth on the endpoint

βœ…

❌

Credentials injected server-side, never sent to the model

βœ…

βž–

License

MIT

varies

*Generic OpenAPIβ†’MCP wrappers turn any Swagger/OpenAPI spec into MCP tools. They can reach the same endpoints, but treat every operation identically β€” no safety categories, no resilience, no deployment story, and no guardrails tuned for live school data. "βž–" = varies by tool / not guaranteed. Snapshot from July 2026.

Related MCP server: Thinkific MCP Server

What you can do

Once it's connected, ask your assistant things like:

  • "List the 10 most recent users who signed up this month."

  • "Create a user for jane@example.com and enroll her in the 'Pro' bundle."

  • "Show me this month's payments and total revenue."

  • "Which users haven't completed the 'Onboarding' course yet?"

  • "Create a 20%-off coupon for the annual subscription plan."

  • "Pull completion analytics for our top 5 courses."

Tools are generated automatically from the API and grouped into 🟒 read-only, 🟑 write, and πŸ”΄ destructive β€” so a well-behaved host can treat each group differently.

How it works

Claude / Cursor / any MCP client  ──MCP──►  this server  ──HTTPS──►  LearnWorlds API (your school)

The server parses the bundled OpenAPI spec into MCP tools (resolving $refs and guarding against recursive schemas), tags each with its safety category, and injects your bearer token and Lw-Client header on every outgoing request. Your credentials stay in the server's environment β€” the model never sees or handles them.

Requirements

  • A LearnWorlds school with API access β€” an access token and a Client ID (admin β†’ Settings β†’ Integrations β†’ Developers), plus your school's API base URL. See Get your API credentials.

  • Docker (Docker Desktop on macOS/Windows) for the quick start below β€” or Node.js β‰₯ 18 to run from source.

Quick start (Docker)

1. Add your credentials. Copy the example config and fill it in:

cp .env.example .env
# edit .env β†’ set LEARNWORLDS_BASE_URL, LEARNWORLDS_API_TOKEN, LEARNWORLDS_CLIENT_ID
#           β†’ set MCP_AUTH_TOKEN (required once the port is published beyond
#             127.0.0.1): openssl rand -hex 32

2. Start the server:

docker compose up -d --build

The bundled docker-compose.yml binds to 127.0.0.1:8765 only, so the server is reachable from your machine but not the network.

3. Confirm it's running:

curl -s http://localhost:8765/health
# β†’ {"status":"ok","server":"learnworlds-mcp","tools":94}

4. Connect your MCP client. The MCP endpoint is http://localhost:8765/mcp.

  • Claude Desktop β€” add a custom connector (Settings β†’ Connectors) pointing at the URL, or bridge it locally with mcp-remote. Add this under mcpServers in your config, then fully quit and reopen the app:

    {
      "mcpServers": {
        "learnworlds": {
          "command": "npx",
          "args": [
            "mcp-remote",
            "http://localhost:8765/mcp",
            "--header", "Authorization: Bearer YOUR_MCP_AUTH_TOKEN"
          ]
        }
      }
    }

    (Drop the --header line if you left MCP_AUTH_TOKEN empty.)

  • Claude Code β€” one command:

    claude mcp add --transport http learnworlds http://localhost:8765/mcp
  • Claude Cowork β€” shares Claude Code's MCP config, so the command above makes the tools available there too.

Prefer a prebuilt image?

Every push to main publishes a ready-to-run image to the GitHub Container Registry, so you can skip the local build entirely:

docker run -d --name learnworlds-mcp -p 127.0.0.1:8765:8765 --env-file .env \
  ghcr.io/ohneben/learnworlds-mcp:latest

Get your API credentials

  1. Log in to your LearnWorlds school admin.

  2. Go to Settings β†’ Integrations β†’ Developers (the API screen).

  3. Copy your Access Token β†’ LEARNWORLDS_API_TOKEN, and your Client ID β†’ LEARNWORLDS_CLIENT_ID.

  4. Set LEARNWORLDS_BASE_URL to your school's API base: https://<your-school>.learnworlds.com/admin/api. If your school uses a custom domain, use that host instead (e.g. https://academy.example.com/admin/api).

Put all three in .env. The server injects them on every request, so your assistant never sees them.

Configuration

Everything is set in .env (copied from .env.example):

Variable

Required

Default

Description

LEARNWORLDS_BASE_URL

βœ…

β€”

Your school's API base URL

LEARNWORLDS_API_TOKEN

βœ…

β€”

Bearer access token

LEARNWORLDS_CLIENT_ID

βœ…

β€”

Sent as the Lw-Client header

MCP_TRANSPORT

β€”

stdio

stdio or http (the Docker image defaults to http)

PORT

β€”

8765

HTTP listen port

HOST

β€”

0.0.0.0

HTTP bind address

MCP_HTTP_PATH

β€”

/mcp

HTTP MCP route

MCP_AUTH_TOKEN

⚠️

(off)

Require Authorization: Bearer <token> on /mcp. Required when HOST is not a loopback address, otherwise the server refuses to start. Renamed from MCP_SHARED_TOKEN in 1.1.0

MCP_ALLOWED_HOSTS

β€”

(automatic)

Comma-separated hostnames accepted in the Host header (DNS-rebinding protection). Needed behind a reverse proxy

MCP_ALLOW_INSECURE

β€”

(off)

Lifts the startup refusal. Only for an endpoint nobody else can reach

MCP_SESSION_TTL

β€”

1800

Idle seconds before a session is dropped

MCP_MAX_SESSIONS

β€”

256

Maximum concurrent sessions

MCP_BODY_LIMIT

β€”

25mb

Largest accepted request body

LEARNWORLDS_MAX_REQUESTS

β€”

25

Client-side requests per window (0 disables throttling)

LEARNWORLDS_RATE_WINDOW_MS

β€”

10000

Rate-limit window in ms

LEARNWORLDS_MAX_RETRIES

β€”

3

Retries on 429 / 5xx / network errors

LEARNWORLDS_TIMEOUT_MS

β€”

30000

Per-attempt request timeout

LEARNWORLDS_OPENAPI_PATH

β€”

(bundled)

Load a different OpenAPI YAML

After changing .env, reload with docker compose up -d --force-recreate.

Tool safety categories

Each tool's description starts with one of these banners and carries the matching MCP annotations:

Banner

Count

readOnlyHint

destructiveHint

Meaning

🟒 READ-ONLY

59

true

false

Fetches data only. Safe.

🟑 WRITE · creates data

β€”

false

false

POST β€” creates records (not idempotent; may duplicate).

🟑 WRITE · updates data

β€”

false

false

PUT β€” modifies existing records in place (idempotent).

πŸ”΄ DESTRUCTIVE Β· deletes

8

false

true

DELETE β€” removes a record. Confirm first.

The 🟑 write tools total 27 (17 create + 10 update). Hosts that respect annotations (Claude included) can require confirmation for destructiveHint tools and trust readOnlyHint tools automatically.

Under the banner, every description follows the same layout so an agent can act on the first read instead of probing:

Line

What it answers

(purpose)

What the endpoint does, straight from the OpenAPI spec, stated once.

Behavior

What the call does to the live school, whether it is idempotent, and how auth, throttling and retries are handled for it.

Parameters

Only what the input schema cannot say β€” the body wrapper, paging, and any renamed argument.

Returns

The HTTP <status> + JSON result shape and the error codes that can come back.

Use when

When to reach for it, when not to, and up to five sibling tools in the same area.

Run npm run list-tools (no credentials needed) to print the full catalog and the per-category counts at any time.

Area

🟒 Read

🟑 Write

πŸ”΄ Delete

Users

10

7

1

Affiliates

7

1

0

Community

6

3

2

Courses

5

3

0

Promotions (coupons)

4

3

0

Reporting

4

0

0

Payments

3

0

0

Multiple seats

3

3

2

User groups

3

3

2

Bundles

2

0

0

Assessments

2

1

0

Subscription plans

2

0

0

Certificates

1

1

1

User subscriptions

1

0

0

User roles

1

0

0

Installments

1

0

0

Leads

1

0

0

Calendar

1

0

0

Event logs

1

0

0

Asynchronous actions

1

0

0

Update user progress

0

2

0

Total

59

27

8

Run from source (stdio, no Docker)

Prefer the classic stdio mode for Claude Desktop? Build it locally:

npm install
npm run build

Then point Claude Desktop at the compiled entrypoint in claude_desktop_config.json:

{
  "mcpServers": {
    "learnworlds": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/Learnworlds-MCP/dist/index.js"],
      "env": {
        "MCP_TRANSPORT": "stdio",
        "LEARNWORLDS_BASE_URL": "https://your-school.learnworlds.com/admin/api",
        "LEARNWORLDS_API_TOKEN": "your-access-token",
        "LEARNWORLDS_CLIENT_ID": "your-client-id"
      }
    }
  }
}

Keeping the spec current

The bundled spec/learnworlds-openapi.yaml is the source of truth for the tools. To refresh against a newer API version, drop the new YAML in its place (or point LEARNWORLDS_OPENAPI_PATH at it) and rebuild:

docker compose up -d --build   # Docker
# or
npm run build                  # from source

New paths become new tools automatically β€” no code changes needed.

Development

npm install
npm run build      # compile TypeScript β†’ dist/
npm test           # run the Vitest suite
npm run list-tools # print the categorized tool catalog (no credentials needed)

CI builds and tests every push across Node 20 and 22; pushes to main also publish a Docker image to the GitHub Container Registry. When the version in server.json is one the official MCP Registry does not yet list, that same run also publishes it there.

Notes & conventions

  • Transports: MCP_TRANSPORT=stdio (default) for local launchers; MCP_TRANSPORT=http for the always-on Streamable-HTTP server the Docker image runs.

  • Paging: most get tools accept page (and endpoint-specific filters); LearnWorlds paginates list responses (commonly 20–50 items per page).

  • Rate limit: LearnWorlds allows 30 requests / 10 s; the server self-throttles at LEARNWORLDS_MAX_REQUESTS per LEARNWORLDS_RATE_WINDOW_MS (default 25 / 10 s) and retries any 429 it still receives.

  • Request bodies: write tools take a body argument; its schema is resolved from the spec and shown to the model.

Security

  • Your API credentials live only in .env, which is git-ignored. Never commit real secrets. If the token leaks, rotate it in LearnWorlds admin β†’ Settings β†’ Integrations β†’ Developers (API).

  • The HTTP endpoint requires a token as soon as it is bound beyond loopback. Without MCP_AUTH_TOKEN the server refuses to start and the error explains what to do. Send it as an Authorization: Bearer <token> header, ideally behind TLS.

  • On localhost too: without a token the Host header is restricted to localhost names, so no web page can reach the endpoint via DNS rebinding. A loopback bind alone is not protection. Behind a reverse proxy, set MCP_ALLOWED_HOSTS.

  • Behind a reverse proxy, pin the Host header in the proxy to the internal upstream name and put exactly that into MCP_ALLOWED_HOSTS. The check then does not depend on the public domain and survives a domain change. (Tip from @WinFuture23.)

  • /health sits behind the Host check but in front of the token check, so a platform health check needs no token. It additionally accepts localhost, 127.0.0.1 and [::1] at all times, so the HEALTHCHECK in the bundled Dockerfile keeps working when you pin MCP_ALLOWED_HOSTS to a public hostname. If your platform probes over HTTP from elsewhere, its hostname has to be in the list: Railway sends Host: healthcheck.railway.app.

See SECURITY.md for the full policy and how to report a vulnerability.

Credits & license

An unofficial community integration for LearnWorlds; not affiliated with or endorsed by LearnWorlds. Built on the Model Context Protocol. Licensed under the MIT License.

Available Tools

94 tools
add_invite_users_community_spaceA

🟑 WRITE · creates data · POST /v2/community/spaces/{id}/users

Add/Invite users to a community space. Adds or invites users to a space. If space has is_invitation_required property set to true then users will be sent an invitation in their inbox to join, otherwise they will be directly added. Returns an array of the affected users, if the user is already in space, the user will not be returned.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Community tools: get_users_community_space, remove_user_community_space, delete_community_space, get_community_space, update_community_space.

Inputs: id (required), body.

add_user_seat_offeringA

🟑 WRITE · creates data · POST /v2/seats/{id}/users/{uid}

Add a user to the seat offering specified by the provided seat offering id. Additionally there is the option to assign the user a seat in the seat offering.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Multiple seats tools: remove_user_seat, get_users_seat_offering, delete_seat_offering, get_specific_seat_offering, update_seat_offering.

Inputs: id (required), uid (required), body.

add_user_user_groupA

🟑 WRITE · creates data · POST /v2/user_groups/{id}/users/{uid}

Add a user to a user group.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related User groups tools: remove_user_user_group, get_users_user_group, deletes_user_group, get_user_group, update_user_group.

Inputs: id (required), uid (required).

create_community_spaceA

🟑 WRITE · creates data · POST /v2/community/spaces

Create a community space. The endpoint response is the created community Space resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Community tools: add_invite_users_community_space, delete_community_space, get_community_space, get_community_spaces, get_users_community_space.

Inputs: body.

create_coupon_promotionA

🟑 WRITE · creates data · POST /v2/promotions/{pid}/coupons

Creates a coupon for the promotion specified by the provided promotion id. The endpoint response is the created coupon resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Promotions tools: get_coupon_usage, get_promotions_coupons, create_coupons_promotion_bulk, create_promotion, get_promotion.

Inputs: pid (required), body.

create_coupons_promotion_bulkA

🟑 WRITE · creates data · POST /v2/promotions/{id}/coupons-bulk

Bulk create coupons in a promotion. The endpoint response is an array with the created coupon resources.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Promotions tools: get_promotion, create_coupon_promotion, create_promotion, get_coupon_usage, get_promotions.

Inputs: id (required), body.

create_courseA

🟑 WRITE · creates data · POST /v2/courses

Creates a new course. The endpoint response is the created Course resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Courses tools: create_course_section, get_contents_course, get_course, get_course_grades, get_courses.

Inputs: body.

create_course_sectionA

🟑 WRITE · creates data · POST /v2/courses/{id}/sections

Creates a new course section in the course, specified by the course id. The endpoint response is the course contents including the newly created section.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Courses tools: get_contents_course, get_course, get_course_grades, get_users_per_course, update_course.

Inputs: id (required), body.

create_promotionA

🟑 WRITE · creates data · POST /v2/promotions

Create a new Promotion without coupons. The endpoint response is the created Promotion resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Promotions tools: create_coupon_promotion, create_coupons_promotion_bulk, get_coupon_usage, get_promotion, get_promotions.

Inputs: body.

create_seat_offeringA

🟑 WRITE · creates data · POST /v2/seats

Creates a new seat offering. The endpoint response is the created Seat offering resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Multiple seats tools: add_user_seat_offering, delete_seat_offering, get_seat_offerings, get_specific_seat_offering, get_users_seat_offering.

Inputs: body.

create_userA

🟑 WRITE · creates data · POST /v2/users

Creates a new user. The endpoint response is the created User resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: body.

create_user_groupA

🟑 WRITE · creates data · POST /v2/user_groups

Creates a new user group. The endpoint response is the created user group resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related User groups tools: add_user_user_group, deletes_user_group, get_user_group, get_user_groups, get_users_user_group.

Inputs: body.

delete_certificate_revoke_invalidateA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/certificates/{id}

Delete a certificate (Revoke / Invalidate). Deletes the certificate specified by the provided certificate id.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Certificates tools: update_certificate_reissue, get_certificates.

Inputs: id (required).

delete_community_spaceA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/community/spaces/{id}

Deletes the community space specified by the provided space id.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Community tools: add_invite_users_community_space, get_community_space, get_users_community_space, remove_user_community_space, update_community_space.

Inputs: id (required).

delete_seat_offeringA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/seats/{id}

Deletes a specific seat offering asynchronously. This endpoint removes a seat offering identified by its unique ID. The deletion request is processed asynchronously, meaning the operation may continue after the initial request is accepted.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Multiple seats tools: add_user_seat_offering, get_specific_seat_offering, get_users_seat_offering, remove_user_seat, update_seat_offering.

Inputs: id (required).

deletes_user_groupA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/user_groups/{id}

Deletes a specific user group asynchronously. This endpoint removes a user group identified by its unique ID. The deletion request is processed asynchronously, meaning the operation may continue after the initial request is accepted.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related User groups tools: add_user_user_group, get_user_group, get_users_user_group, remove_user_user_group, update_user_group.

Inputs: id (required).

enroll_user_productA

🟑 WRITE · creates data · POST /v2/users/{id}/enrollment

Enroll user to product, regarding course, bundle, manual subscription

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Users tools: unenroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required), body.

get_active_installmentsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/installments/active

Get active installments. Return a list with active installments of users. The installments are in sorted order based on user's creation date in descending order, and the list is paginated, with a limit of 50 installments per page. To refine the list of installments, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: page, user_id, product_id, product_type.

get_affiliate_paymentsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/payments

Get affiliate payments. Returns a list with all the affiliate payments. The payments are in sorted order, with the most recently created payment appearing first, and the list is paginated, with a limit of 50 payments per page. To refine the list of payments, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_completed_affiliate_payouts, get_customers_per_affiliate, get_due_affiliate_payouts, get_leads_per_affiliate, get_upcoming_affiliate_payouts.

Inputs: id (required), page.

get_affiliatesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates

Get affiliates. Returns a list with all the affiliates of the school. The affiliates are in sorted order, with the most recently created affiliate appearing first, and the list is paginated, with a limit of 20 affiliates per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_affiliate_payments, get_completed_affiliate_payouts, get_customers_per_affiliate, get_due_affiliate_payouts, get_leads_per_affiliate.

Inputs: page.

get_analytics_courseA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}/analytics

Get analytics for a course. Returns analytics about the course specified by the provided course id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Reporting tools: get_analytics_learning_activity, get_user_progress, get_user_progress_per_course.

Inputs: id (required).

get_analytics_learning_activityA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}/units/{uid}/analytics

Get analytics for a learning activity. Returns analytics about a learning activity of a course specified by the provided course id and learning activity id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Reporting tools: get_analytics_course, get_user_progress, get_user_progress_per_course.

Inputs: id (required), uid (required).

get_assessment_responsesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/assessments/{id}/responses

Get assessment responses. Retrieves all the responses a user has submitted in an assessment, with the most recent submission appearing first. The list is paginated with a limit of 20 responses per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Assessments tools: review_submission_user_s_assessment_submission, get_form_responses.

Inputs: id (required), page, users, items_per_page.

get_bundleA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/bundles/{id}

Get a bundle. Returns the bundle specified by the provided bundle id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Bundles tools: get_bundles.

Inputs: id (required).

get_bundlesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/bundles

Get all bundles. Returns a list of all bundles of the school. The bundles are in sorted order, with the most recently created bundle appearing first, and the list is paginated, with a limit of 20 bundles per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Bundles tools: get_bundle.

Inputs: page.

get_certificatesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/certificates

Get certificates. Returns a list with certificates. The certificates are in sorted order, with the most recently created user appearing first, and the list is paginated, with a limit of 20 certificates per page. To refine the list of certificates, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator). At least one query parameter is required.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Certificates tools: delete_certificate_revoke_invalidate, update_certificate_reissue.

Inputs: page, user_id, course_id.

get_community_collectionsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/collections

Get all community collections. Returns a list with all community collections of the school. The community collections are in sorted order, with the oldest created collections appearing first

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: add_invite_users_community_space, create_community_space, delete_community_space, get_community_post, get_community_posts.

Inputs: no named parameters.

get_community_postA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/posts/{id}

Get a community post. Returns information about the community post specified by the provided post id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: get_community_posts, add_invite_users_community_space, create_community_space, delete_community_space, get_community_collections.

Inputs: id (required).

get_community_postsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/posts

Get community posts. Returns a list with all the posts of the school community. The post are in sorted order, with the most recently created post appearing first, and the list is paginated, with a default limit of 10 posts per page. To refine the list of posts, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: get_community_post, add_invite_users_community_space, create_community_space, delete_community_space, get_community_collections.

Inputs: page, user_id, mentions, space_id, +2 more.

get_community_spaceA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/spaces/{id}

Get a community space. Returns information about the community space specified by the provided space id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: add_invite_users_community_space, delete_community_space, get_users_community_space, remove_user_community_space, update_community_space.

Inputs: id (required).

get_community_spacesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/spaces

Get community spaces. Returns a list with all community spaces of the school. The community spaces are in sorted order, with the oldest created spaces appearing first

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: add_invite_users_community_space, create_community_space, delete_community_space, get_community_space, get_users_community_space.

Inputs: page, access, usages, collectionId, +1 more.

get_completed_affiliate_payoutsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/payouts/completed

Get completed affiliate payouts. Returns a list with all the completed payouts related to the provided affiliate. The payouts are in sorted order, with the most recently created payouts appearing first, and the list is paginated, with a limit of 20 payouts per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_due_affiliate_payouts, get_upcoming_affiliate_payouts, get_affiliate_payments, get_customers_per_affiliate, get_leads_per_affiliate.

Inputs: id (required).

get_contents_courseA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}/contents

Get contents of a course. Returns the contents of the course specified by the provided course id. Includes sections and learning activities.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Courses tools: create_course_section, get_course, get_course_grades, get_users_per_course, update_course.

Inputs: id (required).

get_coupon_usageA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/promotions/{pid}/coupons/{cid}/usage

Get coupon usage. Returns information about the coupon specified by the provided promotion id and coupon code. More specifically, the coupon usage details are listed along with the asocciated payments.The payments are in sorted order, with the most recently created payment appearing first, and the list is paginated, with a limit of 50 payments per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Promotions tools: create_coupon_promotion, get_promotions_coupons, create_coupons_promotion_bulk, create_promotion, get_promotion.

Inputs: cid (required), pid (required), page.

get_courseA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}

Get a course. Returns information about the course specified by the provided course id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Courses tools: create_course_section, get_contents_course, get_course_grades, get_users_per_course, update_course.

Inputs: id (required).

get_course_gradesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}/grades

Get course grades. Retrieves the grades of all enrolled users in the course specified by the provided course id. The list is paginated with a limit of 20 grades per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Courses tools: create_course_section, get_contents_course, get_course, get_users_per_course, update_course.

Inputs: id (required), page, sort, order, +3 more.

get_coursesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses

Get all courses. Returns a list of all courses of the school. The courses are in sorted order, with the most recently created course appearing first, and the list is paginated, with a limit of 50 courses per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Courses tools: create_course, create_course_section, get_contents_course, get_course, get_course_grades.

Inputs: page, access, categories.

get_courses_enrollments_userA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/courses

Get courses (enrollments) of user. Returns a list with all course enrollment data of the specified user. The list is paginated, with a limit of 50 course enrollments per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: enroll_user_product, get_products_user, get_seat_offerings_that_user_is_member, get_user, get_user_groups_that_user_is_member.

Inputs: id (required), page.

get_customers_per_affiliateA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/customers

Get all customers per affiliate. Retrieves all the customers connected with the affiliate specified by the provided affiliate id. The customers are in sorted order, with the most recently created customer appearing first, and the list is paginated, with a limit of 20 customers per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_affiliate_payments, get_completed_affiliate_payouts, get_due_affiliate_payouts, get_leads_per_affiliate, get_upcoming_affiliate_payouts.

Inputs: id (required), page.

get_due_affiliate_payoutsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/payouts/due

Get due affiliate payouts. Returns the due payouts related to the provided affiliate

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_completed_affiliate_payouts, get_upcoming_affiliate_payouts, get_affiliate_payments, get_customers_per_affiliate, get_leads_per_affiliate.

Inputs: id (required).

get_event_logsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/event-logs

Get event logs. Returns a list with all event logs of the school. The list is paginated, with a limit of 50 event logs per page. To refine the list of event logs, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: page, sort, user_id, activity, +2 more.

get_form_responsesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/forms/{id}/responses

Get form responses. Retrieves all the responses a user has submitted in a form, with the most recent submission appearing first. The list is paginated with a limit of 20 responses per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Assessments tools: get_assessment_responses, review_submission_user_s_assessment_submission.

Inputs: id (required), page, users, items_per_page.

get_leadsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/leads

Get leads. Returns a list with all the leads of the school. The leads are in sorted order, with the most recently created leads appearing first, and the list is paginated, with a limit of 20 leads per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: page.

get_leads_per_affiliateA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/leads

Get all leads per affiliate. Retrieves all the leads connected with the affiliate specified by the provided affiliate id. The leads are in sorted order, with the most recently created lead appearing first, and the list is paginated, with a limit of 20 leads per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_affiliate_payments, get_completed_affiliate_payouts, get_customers_per_affiliate, get_due_affiliate_payouts, get_upcoming_affiliate_payouts.

Inputs: id (required), page.

get_list_subscription_plansA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/subscription-plans

Get a list of subscription plans. Returns a list of all subscription plans. The subscription plans are in sorted order, with the most recently created subscription plan appearing first, and the list is paginated, with a limit of 50 subscription plans per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Subscription plans tools: get_subscription_plan.

Inputs: page.

get_paymentA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/payments/{id}

Get payment. Returns information about the payment specified by the provided payment id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Payments tools: get_invoice_link_per_payment, get_payments.

Inputs: id (required).

get_paymentsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/payments

Get payments. Returns a list with all the payments. The payments are in sorted order, with the most recently created payment appearing first, and the list is paginated, with a default limit of 50 payments per page. To refine the list of payments, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Payments tools: get_invoice_link_per_payment, get_payment.

Inputs: page, user_id, product_id, affiliate_id, +4 more.

get_products_userA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/products

Get products of user. Returns a list with all the products of the user specified by the provided user id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_seat_offerings_that_user_is_member, get_user, get_user_groups_that_user_is_member.

Inputs: id (required).

get_progress_asynchronous_actionA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/async-actions/{id}

Get the progress of an asynchronous action. Returns information about the progress of an asynchronous action.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: id (required).

get_promotionA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/promotions/{id}

Get promotion. Returns the promotion specified by the provided promotion id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Promotions tools: create_coupons_promotion_bulk, create_coupon_promotion, create_promotion, get_coupon_usage, get_promotions.

Inputs: id (required).

get_promotionsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/promotions

Get promotions. Returns a list with all the promotions of the school. The promotions are in sorted order, with the most recently created promotion appearing first, and the list is paginated, with a limit of 20 promotions per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Promotions tools: create_coupon_promotion, create_coupons_promotion_bulk, create_promotion, get_coupon_usage, get_promotion.

Inputs: page.

get_promotions_couponsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/promotions/{pid}/coupons

Get promotions coupons. Returns all coupons for the promotion specified by the provided promotion id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Promotions tools: create_coupon_promotion, get_coupon_usage, create_coupons_promotion_bulk, create_promotion, get_promotion.

Inputs: pid (required).

get_school_eventsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/school/events

Get school events. Returns all the upcoming scheduled school events, regarding course drip feed, file assignment and live session.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: event_type.

get_seat_offeringsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/seats

Get all seat offerings. Returns a list of all seat offerings of the school. The seat offerings are in sorted order, with the most recently created appearing first and the list is paginated, with a default limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Multiple seats tools: add_user_seat_offering, create_seat_offering, delete_seat_offering, get_specific_seat_offering, get_users_seat_offering.

Inputs: page.

get_seat_offerings_that_user_is_memberA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/seats

Get seat offerings that a user is member of. Returns a list of all seat offerings that the specified user is a member of.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_user, get_user_groups_that_user_is_member.

Inputs: id (required).

get_specific_seat_offeringA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/seats/{id}

Get a specific seat offering. Returns the seat offering specified by the provided seat offering id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Multiple seats tools: add_user_seat_offering, delete_seat_offering, get_users_seat_offering, remove_user_seat, update_seat_offering.

Inputs: id (required).

get_subscription_planA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/subscription-plans/{id}

Get subscription plan. Returns the subscription plan specified by the provided subscription plan id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Subscription plans tools: get_list_subscription_plans.

Inputs: id (required).

get_upcoming_affiliate_payoutsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/affiliates/{id}/payouts/upcoming

Get upcoming affiliate payouts. Returns the upcoming payouts specified by the provided affiliate id

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Affiliates tools: get_completed_affiliate_payouts, get_due_affiliate_payouts, get_affiliate_payments, get_customers_per_affiliate, get_leads_per_affiliate.

Inputs: id (required).

get_userA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}

Get a user. Returns the user specified by the provided user id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user_groups_that_user_is_member.

Inputs: id (required), include_suspended.

get_user_groupA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/user_groups/{id}

Get a user group. Returns the user group specified by the provided user group id.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related User groups tools: add_user_user_group, deletes_user_group, get_users_user_group, remove_user_user_group, update_user_group.

Inputs: id (required).

get_user_groupsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/user_groups

Get all user groups. Returns a list of all user groups of the school. The user groups are in sorted order, with the most recently created appearing first and the list is paginated, with a default limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related User groups tools: add_user_user_group, create_user_group, deletes_user_group, get_user_group, get_users_user_group.

Inputs: page.

get_user_groups_that_user_is_memberA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/user-groups

Get user groups that a user is member of. Returns a list of all user group that the specified user is a member of.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required).

get_user_progressA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/progress

Get user progress. Returns information about the user progress, for the user specified by the provided user id, for all courses the user is enrolled in. The result also includes the breakdown of user progress data per learning activity. The list is paginated, with a default limit of 20 course progress data per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Reporting tools: get_user_progress_per_course, get_analytics_course, get_analytics_learning_activity.

Inputs: id (required), page, items_per_page.

get_user_progress_per_courseA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/courses/{cid}/progress

Get user progress per course. Returns information about the user progress for the user and course specified by the provided user id and course id. The result also includes the breakdown of user progress data per learning activity.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Reporting tools: get_user_progress, get_analytics_course, get_analytics_learning_activity.

Inputs: id (required), cid (required).

get_user_rolesA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/user-roles

Get all user roles. Returns a list with all the user roles of the school. The roles are in alphabetical ascending order according to their title.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: role_id, access_level.

get_user_role_userA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/{id}/user-role

Get user role of a user. Returns the user role of the user specified by the provided user id. Includes the assigned resources, if applicable (assigned course(s) for instructor role, assigned user group(s) for user group managers, assigned seat offering(s) for segment manager, assigned segment for reporter roles).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: update_user_role_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: id (required).

get_usersA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users

Get all users. Returns a list with all the users of the school. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a default limit of 20 users per page. To refine the list of users, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page; cf__field_name reaches LearnWorlds under the original spec name. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: create_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: page, role, tags, status, +5 more.

get_users_community_spaceA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/community/spaces/{id}/users

Get users of a community space. Returns a list with all the users of the space. The users are in sorted order, with the oldest created user appearing first, and the list is paginated, with a default limit of 10 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Community tools: add_invite_users_community_space, remove_user_community_space, delete_community_space, get_community_space, update_community_space.

Inputs: id (required), page, items_per_page.

get_user_segmentsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/segments

Get user segments. Returns a list of all user segments in the school.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: create_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: no named parameters.

get_users_per_courseA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/courses/{id}/users

Get all users per course. Retrieves all the users enrolled in the course specified by the provided course id. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a default limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page and size each page with items_per_page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Courses tools: create_course_section, get_contents_course, get_course, get_course_grades, update_course.

Inputs: id (required), page, items_per_page.

get_users_productA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/by-product

Get all users by product. Retrieves all the users with access to the product specified by the provided product id. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: create_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: product_id (required), product_type (required), page.

get_users_seat_offeringA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/seats/{id}/users

Get all users of seat offering. Retrieves all the users who are members of the seat offering specified by the provided seat offering id. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a default limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Multiple seats tools: add_user_seat_offering, remove_user_seat, delete_seat_offering, get_specific_seat_offering, update_seat_offering.

Inputs: id (required), page.

get_users_segmentA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/users/by-segment

Get all users by segment. Retrieves all the users in the segment specified by the provided segment id. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a limit of 20 user per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related Users tools: create_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: segment_id (required), page.

get_users_subscriptionsA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/user-subscriptions

Get users subscriptions. Returns a list with the user subscriptions. The subscriptions are in sorted order based on user's creation date in descending order and the list is paginated, with a limit of 20 subscriptions per page. To refine the list of subscriptions, there are a number of query params outlined in the following section; In case more than one Query param is provided, then all of them will be applied (AND operator).

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool.

Inputs: page, status, user_id.

get_users_user_groupA
Read-onlyIdempotent

🟒 READ-ONLY · GET /v2/user_groups/{id}/users

Get users of a user group. Retrieves all the users who are members of the user group specified by the provided group id. The users are in sorted order, with the most recently created user appearing first, and the list is paginated, with a default limit of 20 users per page.

Behavior: read-only lookup against the live school; creates, changes and deletes nothing. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: results are paged β€” walk them with page. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: safe to call speculatively for lookups and reporting. Not for changing anything β€” use the matching 🟑 write tool. Related User groups tools: add_user_user_group, remove_user_user_group, deletes_user_group, get_user_group, update_user_group.

Inputs: id (required), page.

make_affiliateA

🟑 WRITE · creates data · POST /v2/affiliates/{id}

Makes a user specified by the provided user id an affiliate. The endpoint response is the affiliate resource.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Affiliates tools: get_affiliate_payments, get_completed_affiliate_payouts, get_customers_per_affiliate, get_due_affiliate_payouts, get_leads_per_affiliate.

Inputs: id (required), body.

mark_as_completeA

🟑 WRITE · creates data · POST /v2/users/{id}/courses/{cid}/complete

Mark as complete. Updates the user's progress on a course or learning activity level as complete.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Update user progress tools: reset_user_progress.

Inputs: id (required), cid (required), body.

remove_user_community_spaceA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/community/spaces/{id}/users/{uid}

Remove a user from a community space. Removes the user specified by the provided user id from the provide space id.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Community tools: add_invite_users_community_space, get_users_community_space, delete_community_space, get_community_space, update_community_space.

Inputs: id (required), uid (required).

remove_user_seatA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/seats/{id}/users/{uid}

Remove a user from a seat and optionally from the seat offering.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Multiple seats tools: add_user_seat_offering, get_users_seat_offering, delete_seat_offering, get_specific_seat_offering, update_seat_offering.

Inputs: id (required), uid (required), body.

remove_user_user_groupA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/user_groups/{id}/users/{uid}

Remove a user from a user group.

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related User groups tools: add_user_user_group, get_users_user_group, deletes_user_group, get_user_group, update_user_group.

Inputs: id (required), uid (required).

reset_user_progressA

🟑 WRITE · creates data · POST /v2/users/{id}/courses/{cid}/reset

Resets the user's progress on a course or learning activity level.

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Update user progress tools: mark_as_complete.

Inputs: id (required), cid (required), body.

review_submission_user_s_assessment_submissionA

🟑 WRITE · creates data · POST /v2/assessments/scores/{id}/review

Review the submission of a user's assessment submission. Updates the grades and feedback for each delivered question in an assessment submission and calculates the new grades

Behavior: creates a record or triggers an action in the live school. Not idempotent: a repeated call can duplicate the effect. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to create this. Check with a 🟒 read tool that the target exists and the record is not already there. Related Assessments tools: get_assessment_responses, get_form_responses.

Inputs: id (required), body.

suspend_userA
Idempotent

🟑 WRITE · updates data · PUT /v2/users/{id}/suspend

Suspends a user from loging in or creating another account. The endpoint response is the suspended User resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required).

unenroll_user_productA
DestructiveIdempotent

πŸ”΄ DESTRUCTIVE Β· deletes Β· DELETE /v2/users/{id}/enrollment

Unenroll user from a product specified by the provided product id

Behavior: permanently removes the addressed record from the live school β€” no undo from this server. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP 200/204, with a body that is usually empty on success. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only after the user confirms the removal. To merely revoke access or deactivate, use the matching 🟑 update or unenroll tool instead. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required), body.

unsuspend_userA
Idempotent

🟑 WRITE · updates data · PUT /v2/users/{id}/unsuspend

Unsuspends a user. The endpoint response is the unsuspended User resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required).

update_certificate_reissueA
Idempotent

🟑 WRITE · updates data · PUT /v2/certificates/{id}

Update a certificate (Reissue). Updates the certificate specified by the provided certificate id.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Certificates tools: delete_certificate_revoke_invalidate, get_certificates.

Inputs: id (required), body.

update_community_spaceA
Idempotent

🟑 WRITE · updates data · PUT /v2/community/spaces/{id}

Updates the community space specified by the provided space id. The endpoint response is the updated community space resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Community tools: add_invite_users_community_space, delete_community_space, get_community_space, get_users_community_space, remove_user_community_space.

Inputs: id (required), body.

update_courseA
Idempotent

🟑 WRITE · updates data · PUT /v2/courses/{id}

Updates the course specified by the provided course id. The endpoint response is the updated Course resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Courses tools: create_course_section, get_contents_course, get_course, get_course_grades, get_users_per_course.

Inputs: id (required), body.

update_seat_offeringA
Idempotent

🟑 WRITE · updates data · PUT /v2/seats/{id}

Updates a seat offering. The endpoint response is the updated seat offering resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Multiple seats tools: add_user_seat_offering, delete_seat_offering, get_specific_seat_offering, get_users_seat_offering, remove_user_seat.

Inputs: id (required), body.

update_userA
Idempotent

🟑 WRITE · updates data · PUT /v2/users/{id}

Updates user information. The endpoint response is the updated User resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required), body.

update_user_groupA
Idempotent

🟑 WRITE · updates data · PUT /v2/user_groups/{id}

Updates a user group. The endpoint response is the updated user group resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related User groups tools: add_user_user_group, deletes_user_group, get_user_group, get_users_user_group, remove_user_user_group.

Inputs: id (required), body.

update_user_role_userA
Idempotent

🟑 WRITE · updates data · PUT /v2/users/{id}/user-role

Updates the role assigned to the user.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Users tools: get_user_role_user, enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member.

Inputs: id (required), body.

update_user_tagsA
Idempotent

🟑 WRITE · updates data · PUT /v2/users/{id}/tags

Updates the tags of the user specified by the provided user Id or email. The endpoint response is the updated User resource.

Behavior: replaces the fields you send on an existing record in the live school. Idempotent: repeating it leaves the same state. Auth (admin API token + Lw-Client id) is injected server-side, never by the model; calls are throttled to stay under LearnWorlds' 30-per-10s cap and retried on 429/5xx. Parameters: the whole JSON payload goes in the single body argument, forwarded verbatim (the spec leaves body optional, but this endpoint expects one). Returns: HTTP <status> followed by the LearnWorlds JSON response body. A non-2xx reply surfaces as a tool error with that status and the API error payload β€” 401 bad/expired token, 403 not permitted, 404 no such record, 422 rejected input. Use when: only when the user asked to change an existing record. Read it first so you overwrite just the fields you mean to; use the create tool if it does not exist yet. Related Users tools: enroll_user_product, get_courses_enrollments_user, get_products_user, get_seat_offerings_that_user_is_member, get_user.

Inputs: id (required), body.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 94 tools

    Disambiguation3/5

    Most tools target distinct resources, but several inverse pairs have confusingly similar names (get_user_segments vs get_users_segment, get_products_user vs get_users_product) and membership queries vary in phrasing (get_user_groups_that_user_is_member vs get_users_user_group). Descriptions help, but with 94 tools, misselection risk is real.

    Naming Consistency2/5

    The verb_noun snake_case pattern dominates, but deviations are frequent: deletes_user_group (vs delete_*), get_list_subscription_plans, get_specific_seat_offering, update_certificate_reissue, review_submission_user_s_assessment_submission, and mark_as_complete. Inverse relations use inconsistent orderings like get_courses_enrollments_user vs get_users_per_course.

    Tool Count2/5

    94 tools is far beyond a well-scoped MCP surface and will overwhelm agent tool selection. While the LearnWorlds domain is broad, this volume includes many niche read-only endpoints that could be consolidated or omitted.

    Completeness3/5

    Coverage is uneven: courses, users, groups, seats, and community spaces have CRUD-like surfaces, while bundles, subscription plans, payments, leads, event logs, posts, and collections are read-only. Obvious lifecycle operations like delete user, delete course, or create certificate are absent.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers