Connectors / Human resources · HTTP Connector
LearnWorlds integration and API
Create a course and create a promotion in LearnWorlds, and start a workflow when LearnWorlds sends “User registered or updated”.
What can you do with LearnWorlds on Tray.ai?
LearnWorlds is an online course platform for building and selling courses, running a branded school website, issuing certificates and hosting a learner community. Tray.ai connects to LearnWorlds through the HTTP Connector, so your workflows can call the LearnWorlds API alongside the rest of your stack. API access comes through LearnWorlds's partner program or API plan, so you need approved credentials first.
- When LearnWorlds sends “Product bought”, create the order in your accounting system.
- When LearnWorlds sends “Email lead captured”, add the lead to your CRM for follow-up.
- When LearnWorlds sends “Subscription canceled”, update the account in your CRM and alert customer success.
- Enroll a user in a product in LearnWorlds when a corporate customer adds a seat in your CRM.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0 or a bearer token
- Base URL
- https://{school-domain}/admin/api
Set it up
Connect LearnWorlds to Tray.ai
Each step uses LearnWorlds's own API details, from its documentation.
Sign in to LearnWorlds with OAuth 2.0
Ask LearnWorlds for API access. Once it's approved, set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with LearnWorlds. Sign in once and every step reads the token from there.
Point the HTTP Client at the API
Add an HTTP Client step and use https://{school-domain}/admin/api as the base URL. Or paste a cURL example from LearnWorlds's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List courses”
It's one of 26 documented actions, under Courses. The response comes back as data the next step can map into your other apps.
Start workflows from LearnWorlds events
Give LearnWorlds the URL of a Tray.ai webhook trigger. “User registered or updated” can then start a workflow, and so can 9 other events.
Workflows to build with LearnWorlds
Connect LearnWorlds with HubSpot, QuickBooks and Salesforce
Each one uses actions and events from LearnWorlds's own API documentation.
Add LearnWorlds buyers to HubSpot
When
Product bought
Then
- Get a user in LearnWorlds
- Create or update the contact in HubSpot with the course bought
With HubSpot
Record LearnWorlds payments in QuickBooks
When
Payment created
Then
- Get a payment in LearnWorlds
- Get an invoice link in LearnWorlds
- Create a sales receipt in QuickBooks with the invoice link
With QuickBooks
Enroll new Salesforce customers in LearnWorlds training
When
An opportunity closes as won in Salesforce
Then
- Create a user in LearnWorlds for the customer contact
- Enroll a user in a product in LearnWorlds for the onboarding course
With Salesforce
Apps you can build on LearnWorlds data
Internal tools your team can build with an AI assistant, each one using LearnWorlds calls from its API documentation.
Learner grade report
Lists courses with learner grades so instructors can spot who is falling behind.
Student support desk
Finds a learner, shows their payments and certificates, and lets support enroll or reissue.
Coupon performance report
Lists promotions with coupon usage and lets marketing create a new coupon.
Give your AI agents LearnWorlds tools
Build an MCP server on LearnWorlds in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- List courses
- List users
- List payments
- List promotions
- List user groups
- List certificates
- Get a course
- Create a course
What the LearnWorlds API covers
6 resources and 26 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. LearnWorlds gives API access on request, so approved credentials come first. Connecting it takes a few clicks: here's how.
Courses
- List courses
- Get a course
- Create a course
- Update a course
- Get course grades
Users
- List users
- Get a user
- Create a user
- Update a user
- Enroll a user in a product
- Suspend a user
Payments
- List payments
- Get a payment
- Get an invoice link
Promotions
- List promotions
- Create a promotion
- Create a coupon
- Get coupon usage
User groups
- List user groups
- Create a user group
- Update a user group
- Add a user to a group
Certificates
- List certificates
- Reissue a certificate
- Revoke a certificate
- Delete a certificate
Events LearnWorlds can send to a Tray.ai webhook trigger
- User registered or updated
- Product bought
- User enrolled in a free course
- Email lead captured
- Certificate awarded
- Course completed
- Subscription payment made
- Subscription canceled
- User unenrolled from a product
- Payment created
Checked against LearnWorlds's own documentation on 2026-10-22
How Tray.ai makes this work
LearnWorlds plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in LearnWorlds, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose LearnWorlds actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on LearnWorlds data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore human resources apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every human resources connector →
Frequently asked questions
What can a Tray.ai workflow do in LearnWorlds?
The LearnWorlds API documents 26 actions across 6 resources (Courses, Users, Payments, Promotions, User groups, Certificates). For example: List courses; List users; List payments. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with LearnWorlds?
The LearnWorlds API uses OAuth 2.0 and a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which LearnWorlds events can start a Tray.ai workflow?
LearnWorlds sends 10 events to a webhook URL, for example: User registered or updated; Product bought; User enrolled in a free course; Email lead captured; Certificate awarded; Course completed; Subscription payment made; Subscription canceled. A Tray.ai webhook trigger receives them and starts a workflow.
Do I need special access to the LearnWorlds API?
Yes. LearnWorlds gives API access on request, so you need approved credentials before a Tray.ai workflow can call it.
See LearnWorlds working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.