LearnWorlds MCP
This server connects AI assistants like Claude/Cursor to the LearnWorlds API, letting you manage a LearnWorlds school through natural language.
Query data: list/filter users, courses, bundles, subscription plans, payments, promotions/coupons, affiliates, certificates, leads, event logs, community spaces/posts, user groups, seat offerings, and more.
View analytics & reporting: pull course analytics, learning activity analytics, user progress, course grades, assessment/form responses, and payment/revenue data.
Create records: create users, courses, course sections, promotions/coupons, community spaces, seat offerings, user groups, and enroll users in courses/bundles/subscriptions.
Update records: update user info, tags, roles, user progress, course details, promotions, community spaces, seat offerings, user groups, certificates, and review assessment submissions.
Suspend/unsuspend users or change their roles and group/seat memberships.
Manage memberships: add/remove users from community spaces, user groups, and seat offerings; invite users or add them directly.
Destructive actions: unenroll users, delete certificates, community spaces, seat offerings, user groups, and remove users from spaces/groups/seats.
Safe by design: tools are categorized π’ read-only / π‘ write / π΄ destructive and carry MCP annotations, so hosts can auto-trust reads and require confirmation for destructive actions.
Deployable: runs over stdio or Streamable HTTP, in Docker, with rate limiting, retries, timeouts, and optional bearer-token auth; your LearnWorlds credentials stay server-side and never reach the model.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LearnWorlds MCP List the 10 most recent users who signed up this month."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ohneben's LearnWorlds MCP
License & checks
MCP registries
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 ( | Hosts that honor annotations (Claude included) can auto-trust reads and demand confirmation before anything destructive. |
Automatic retries with backoff | Transient |
Built-in rate limiting | Self-throttles under LearnWorlds' 30 requests / 10 s cap so a burst of tool calls never trips a |
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: |
Bearer-token auth on the HTTP endpoint | Required as soon as the server is bound beyond loopback: without |
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 | β | β |
| β | β |
| β | β |
Automatic retries on | β | β |
Client-side rate limiting (stays under 30 req / 10 s) | β | β |
Per-request timeout with abort | β | β |
| β | β |
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 322. Start the server:
docker compose up -d --buildThe 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 undermcpServersin 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
--headerline if you leftMCP_AUTH_TOKENempty.)Claude Code β one command:
claude mcp add --transport http learnworlds http://localhost:8765/mcpClaude 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:latestGet your API credentials
Log in to your LearnWorlds school admin.
Go to Settings β Integrations β Developers (the API screen).
Copy your Access Token β
LEARNWORLDS_API_TOKEN, and your Client ID βLEARNWORLDS_CLIENT_ID.Set
LEARNWORLDS_BASE_URLto 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 |
| β | β | Your school's API base URL |
| β | β | Bearer access token |
| β | β | Sent as the |
| β |
|
|
| β |
| HTTP listen port |
| β |
| HTTP bind address |
| β |
| HTTP MCP route |
| β οΈ | (off) | Require |
| β | (automatic) | Comma-separated hostnames accepted in the |
| β | (off) | Lifts the startup refusal. Only for an endpoint nobody else can reach |
| β |
| Idle seconds before a session is dropped |
| β |
| Maximum concurrent sessions |
| β |
| Largest accepted request body |
| β |
| Client-side requests per window ( |
| β |
| Rate-limit window in ms |
| β |
| Retries on |
| β |
| Per-attempt request timeout |
| β | (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 |
|
| Meaning |
π’ READ-ONLY | 59 |
|
| Fetches data only. Safe. |
π‘ WRITE Β· creates data | β |
|
|
|
π‘ WRITE Β· updates data | β |
|
|
|
π΄ DESTRUCTIVE Β· deletes | 8 |
|
|
|
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 |
Returns | The |
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 buildThen 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 sourceNew 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=httpfor the always-on Streamable-HTTP server the Docker image runs.Paging: most
gettools acceptpage(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_REQUESTSperLEARNWORLDS_RATE_WINDOW_MS(default 25 / 10 s) and retries any429it still receives.Request bodies: write tools take a
bodyargument; 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_TOKENthe server refuses to start and the error explains what to do. Send it as anAuthorization: Bearer <token>header, ideally behind TLS.On localhost too: without a token the
Hostheader 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, setMCP_ALLOWED_HOSTS.Behind a reverse proxy, pin the
Hostheader in the proxy to the internal upstream name and put exactly that intoMCP_ALLOWED_HOSTS. The check then does not depend on the public domain and survives a domain change. (Tip from @WinFuture23.)/healthsits behind the Host check but in front of the token check, so a platform health check needs no token. It additionally acceptslocalhost,127.0.0.1and[::1]at all times, so theHEALTHCHECKin the bundled Dockerfile keeps working when you pinMCP_ALLOWED_HOSTSto a public hostname. If your platform probes over HTTP from elsewhere, its hostname has to be in the list: Railway sendsHost: 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 toolsadd_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_invalidateADestructiveIdempotent
π΄ 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_spaceADestructiveIdempotent
π΄ 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_offeringADestructiveIdempotent
π΄ 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_groupADestructiveIdempotent
π΄ 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_installmentsARead-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_paymentsARead-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_affiliatesARead-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_courseARead-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_activityARead-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_responsesARead-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_bundleARead-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_bundlesARead-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_certificatesARead-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_collectionsARead-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_postARead-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_postsARead-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_spaceARead-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_spacesARead-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_payoutsARead-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_courseARead-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_usageARead-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_courseARead-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_gradesARead-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_coursesARead-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_userARead-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_affiliateARead-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_payoutsARead-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_logsARead-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_responsesARead-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_invoice_link_per_paymentARead-onlyIdempotent
π’ READ-ONLY Β· GET /v2/payments/{id}/invoice-link
Get invoice link per payment. Returns the invoice number and a private expiring link to acccess the invoice.
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_payment, get_payments.
Inputs: id (required).
get_leadsARead-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_affiliateARead-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_plansARead-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_paymentARead-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_paymentsARead-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_userARead-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_actionARead-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_promotionARead-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_promotionsARead-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_couponsARead-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_eventsARead-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_offeringsARead-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_memberARead-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_offeringARead-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_planARead-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_payoutsARead-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_userARead-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_groupARead-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_groupsARead-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_memberARead-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_progressARead-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_courseARead-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_rolesARead-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_userARead-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_usersARead-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_spaceARead-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_segmentsARead-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_courseARead-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_productARead-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_offeringARead-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_segmentARead-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_subscriptionsARead-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_groupARead-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_spaceADestructiveIdempotent
π΄ 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_seatADestructiveIdempotent
π΄ 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_groupADestructiveIdempotent
π΄ 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_userAIdempotent
π‘ 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_productADestructiveIdempotent
π΄ 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_userAIdempotent
π‘ 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_reissueAIdempotent
π‘ 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_spaceAIdempotent
π‘ 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_courseAIdempotent
π‘ 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_offeringAIdempotent
π‘ 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_userAIdempotent
π‘ 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_groupAIdempotent
π‘ 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_userAIdempotent
π‘ 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_tagsAIdempotent
π‘ 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
Scored across 94 tools
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.
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.
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.
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
Related MCP Connectors
Check LearnWorlds courses, learners, progress, grades and payments, and enroll or tag users.
LearnWorlds MCP server for ChatGPT, Claude and any AI agent: list users, list course learners, enroll users, unenroll users, update tags, send message, suspend user and grade assessment in your own LearnWorlds account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to LearnWorlds yourself; Cotlet does not store your password and you need no LearnWorlds API key. About the official LearnWorlds API: LearnWorlds has a REST API (v2) for courses, users, bundles, subscriptions, promotions, payments and certifications, but it comes with the Learning Center plan and higher, and you need your own code to use it (checked 5 Nov 2026). LearnWorlds has no official MCP server. Setup and FAQ: https://cotlet.dev/integrations/learnworlds-api-mcp-server
Create, edit, translate, and export SCORM eLearning modules from a connected AI assistant.
Connect AI assistants to Edusign attendance, courses, learners, documents, and API docs via OAuth.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants like Claude to interact with Canvas LMS through the Canvas API, providing tools for managing courses, announcements, rubrics, assignments, and student data.101MIT
- AlicenseCqualityDmaintenanceEnables AI assistants to manage Thinkific sites through the REST Admin API, providing tools for handling courses, students, enrollments, and orders. It features 24 specialized tools and resources with support for dual authentication and automatic rate-limit management.100MIT
- AlicenseBqualityCmaintenanceEnables AI assistants to manage Canvas LMS courses, announcements, rubrics, assignments, modules, pages, and student data via the Canvas API.6043 npm12MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to seamlessly interact with the Teachable API, managing courses, users, enrollments, progress tracking, and more.8 npmMIT