Connectors / Human resources · HTTP Connector
FreshLearn integration and API
FreshLearn is a platform for creating and selling online courses, cohorts, coaching, memberships and digital downloads under your own brand.
What can you do with FreshLearn on Tray.ai?
FreshLearn is a platform for creating and selling online courses, cohorts, coaching, memberships and digital downloads under your own brand. Tray.ai connects to FreshLearn through the HTTP Connector, so your workflows can call the FreshLearn API alongside the rest of your stack.
- When a customer buys training in your billing system, enroll a member in a course.
- List course completions weekly and update certification status in your HR system.
- When an employee leaves in your HR system, unenroll a member from a course.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://api.freshlearn.com/v1
Set it up
Connect FreshLearn to Tray.ai
Each step uses FreshLearn's own API details, from its documentation.
Save FreshLearn's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.freshlearn.com/v1 as the base URL. Or paste a cURL example from FreshLearn's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “List members”
It's one of 23 documented actions, under Members. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Get a member” and “Create a member” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with FreshLearn
Connect FreshLearn with BambooHR, HubSpot and Stripe
Each one uses actions and events from FreshLearn's own API documentation.
Enroll new hires in FreshLearn onboarding courses
When
A new hire is added in BambooHR
Then
- Create a member with the new hire's details
- Enroll a member in a course for onboarding
With BambooHR
Send FreshLearn course completions to HubSpot
When
On a schedule
Then
- List course completions since the last run
- Update each contact's course status in HubSpot
With HubSpot
Enroll Stripe buyers in FreshLearn courses
When
A payment succeeds in Stripe
Then
- Create a member if the buyer is new
- Enroll a member in a course they bought
With Stripe
Apps you can build on FreshLearn data
Internal tools your team can build with an AI assistant, each one using FreshLearn calls from its API documentation.
Learner progress tracker
Lists course enrollments and completions by member and lets staff mark chapters complete.
Enrollment desk
Finds a member and lets staff enroll them in a course or remove them from one.
Course sales report
Lists payments and counts them by period so the team can track course sales.
FreshLearn MCP server for AI agents
Build an MCP server on FreshLearn 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 members
- List course enrollments
- Get a course structure
- List product enrollments
- List payments
- List assessment results
- Get a member
- Create a member
What the FreshLearn API covers
6 resources and 23 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Members
- List members
- Get a member
- Create a member
- Update a member
- Delete a member
- Count members
Course enrollments
- List course enrollments
- Get a course enrollment
- Enroll a member in a course
- Unenroll a member from a course
- List course completions
Courses
- Get a course structure
- Mark chapters complete
Product enrollments
- List product enrollments
- Get a product enrollment
- Enroll a member in a bundle
- Enroll a member in a masterclass
- Unenroll a member from a bundle
Payments
- List payments
- Get a payment
- Count payments
Assessment results
- List assessment results
- Count assessment results
Checked against FreshLearn's own documentation on 2026-10-22
How Tray.ai makes this work
FreshLearn 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 FreshLearn, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose FreshLearn actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on FreshLearn 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 FreshLearn?
The FreshLearn API documents 23 actions across 6 resources (Members, Course enrollments, Courses, Product enrollments, Payments, Assessment results). For example: List members; List course enrollments; Get a course structure. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with FreshLearn?
The FreshLearn API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See FreshLearn 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.