For Agents
Manage courses, users, enrollments, progress, and payments on a LearnWorlds online school. Requests carry a bearer token and an Lw-Client key.
Use for: I want to enroll a user in a course, Create a new course on my LearnWorlds school, Look up a learner's progress in a course, List all users enrolled in a course
Not supported: Does not host course video or handle the learner-facing storefront UI. Use for school, course, user, and enrollment management only.
The LearnWorlds API lets AI agents run an online school on the LearnWorlds platform. Agents create and update courses, sections, and bundles, enroll and unenroll users in products, and read course and learner analytics. They also manage users, subscription plans, installments, and payments, and track each learner's progress through a course. Requests carry a bearer token together with an Lw-Client key that identifies the school.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the LearnWorlds API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgetlearnworlds.com%2Flearnworlds" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fgetlearnworlds.com%2Flearnworlds" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with LearnWorlds API.
Create and update courses, sections, and bundles
Enroll and unenroll users in courses and products
Read course, activity, and learner analytics
Manage users and their course enrollments
Track, complete, and reset each learner's progress through a course
Read subscription plans, user subscriptions, and installments
Retrieve payments and invoice links
Patterns agents use LearnWorlds API for, with concrete tasks.
★ Agent-Run Online School via Jentic
AI agents operate a LearnWorlds school through Jentic without holding either credential in context. An agent searches by intent, receives the matching operation schema, and creates courses, enrolls users, or reads analytics end to end. Jentic injects the bearer token and Lw-Client key at execution time, so the agent never sees the secrets while it runs the school.
Search Jentic for 'enroll a LearnWorlds user', load the POST /v2/users/{id}/enrollment schema, and enroll the user with Jentic-managed credentials
Automated Enrollment Management
An agent handles enrollments as learners sign up: it creates the user, enrolls them in the right course or bundle, and later unenrolls them when access ends. Because LearnWorlds exposes explicit user and enrollment operations, the agent can keep access in sync with an external system of record without manual admin work.
Call POST /v2/users to create the learner, then POST /v2/users/{id}/enrollment to enroll them in a product
Learner Progress Tracking
An agent monitors how learners move through a course by reading their progress and course analytics, then flags stalled learners or marks activities complete. LearnWorlds exposes per-user progress and per-course analytics, so the agent can report on outcomes and nudge learners without a human pulling reports.
Call GET /v2/users/{id}/courses to list a learner's enrollments and read their progress per course
94 endpoints — the learnworlds api lets ai agents run an online school on the learnworlds platform.
METHOD
PATH
DESCRIPTION
/v2/courses
Get all courses
/v2/courses
Create a course
/v2/users
Get all users
/v2/users/{id}/enrollment
Enroll a user in a product
/v2/users/{id}/courses
Get a user's course enrollments
/v2/payments
Get payments
/v2/courses
Get all courses
/v2/courses
Create a course
/v2/users
Get all users
/v2/users/{id}/enrollment
Enroll a user in a product
/v2/users/{id}/courses
Get a user's course enrollments
/v2/payments
Get payments
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>What agents get from Jentic-routed access to this vendor.
Setup
Wiring the LearnWorlds API by hand means managing both a bearer token and the Lw-Client key, pointing calls at your school subdomain, and sequencing user, course, and enrollment operations yourself. Through Jentic you install once, import the LearnWorlds API from the API Directory, store both credentials, and your agent calls it.
Permission scoping
The LearnWorlds API puts course and user ids in the URL path, so a rule can pin your agent to one course or user and the operations you choose. You decide which operations it may call, so enrollment changes or course edits stay out unless you grant them.
Credential isolation
Your LearnWorlds bearer token and Lw-Client key are stored once, encrypted, by your own Jentic One instance and injected at execution time. They never enter the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'enroll a user' or 'get course analytics', and Jentic returns the matching LearnWorlds operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Specific to using LearnWorlds API through Jentic.
What authentication does the LearnWorlds API use?
The LearnWorlds API requires two credentials together: a bearer token in the Authorization header and an Lw-Client API key that identifies your school, per its OpenAPI spec. Through Jentic, both are stored encrypted by your own Jentic One instance and injected at call time, so they never enter the agent's prompt or logs.
Can I enroll a user in a course with the LearnWorlds API?
Yes. Create the user with POST /v2/users, enroll them in a product with POST /v2/users/{id}/enrollment, and list their enrollments with GET /v2/users/{id}/courses.
What are the rate limits for the LearnWorlds API?
The OpenAPI spec does not specify rate limits; check the LearnWorlds documentation for current limits. Through Jentic, requests run from your own instance, so you control the pacing of the agent's calls.
How do I enroll a user with the LearnWorlds API through Jentic?
Search Jentic for 'enroll a LearnWorlds user', load the returned POST /v2/users/{id}/enrollment operation with its input schema, and your agent enrolls the user with credentials injected at call time. To run it on your own infrastructure, install Jentic One from its GitHub repo.
Is there a LearnWorlds MCP server?
You don't need an MCP server to give your agent the LearnWorlds API. Jentic connects it directly from the API Directory: import it, store your credentials, and your agent calls it, discovering operations on demand instead of loading a separate server's tool definitions into its context.
Can I limit what my agent is allowed to do with the LearnWorlds API?
Yes. The LearnWorlds API puts course and user ids in the URL path, so a rule can scope your agent to one course or one user and the operations you pick, such as reading analytics without editing content. You choose which operations it may call, so enrollment changes or course edits stay out unless you add them.
GET STARTED