# FreshLearn integrations: course enrollments

> FreshLearn is a platform for creating and selling online courses, cohorts, coaching, memberships and digital downloads under your own brand.

**Canonical page:** https://tray.ai/connectors/freshlearn-integrations/
**Categories:** Human resources
**Connects through:** HTTP Connector

## Overview

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.

## Use cases

### Members

Read, create, update, and delete members in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as list members and get a member.

- List members
- Get a member
- Create a member

### Course enrollments

Read, create, and manage course enrollments in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as list course enrollments and get a course enrollment.

- List course enrollments
- Get a course enrollment
- Enroll a member in a course

### Courses

Read and update courses in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as get a course structure and mark chapters complete.

- Get a course structure
- Mark chapters complete

### Product enrollments

Read, create, and manage product enrollments in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as list product enrollments and get a product enrollment.

- List product enrollments
- Get a product enrollment
- Enroll a member in a bundle

### Payments

Read payments in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as list payments and get a payment.

- List payments
- Get a payment
- Count payments

### Assessment results

Read assessment results in FreshLearn from any Tray.ai workflow. The FreshLearn API covers calls such as list assessment results and count assessment results.

- List assessment results
- Count assessment results

## Challenges Tray.ai solves

### Keeping FreshLearn credentials out of logs

A raw API call usually means pasting a key or token into the request, where it ends up in step inputs, logs, and screenshots.

**How Tray.ai helps:** Store FreshLearn credentials once as a Tray.ai authentication and reference them from the HTTP Connector. Tray.ai masks authentication values in logs, so the secret never shows up in a step's input or output.

### Going from the FreshLearn API docs to a working call

Translating an example request from API docs into a workflow step means copying the method, URL, headers, and body by hand.

**How Tray.ai helps:** Paste a cURL example from the FreshLearn API docs into the HTTP Connector and Tray.ai fills in the method, URL, headers, and body for you.

### Handling files and non-JSON responses

Not every API answers in JSON. Some return XML, files, or binary data, or expect a multipart upload.

**How Tray.ai helps:** The HTTP Connector parses JSON and XML responses, returns files you can pass to the next step, and sends multipart form data for uploads.

## Frequently asked questions

### Does Tray.ai connect to FreshLearn?

Yes. Tray.ai connects to FreshLearn through the HTTP Connector, which calls the FreshLearn API directly. Any call the FreshLearn API documents can run as a step in a Tray.ai workflow.

### 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.

### Can I get a dedicated FreshLearn connector?

FreshLearn runs through the HTTP Connector rather than a dedicated connector. If your team wants one, the Tray.ai connector SDK can build a dedicated FreshLearn connector from the FreshLearn API.

## Learn more

- Tray iPaaS: https://tray.ai/platform/ipaas/
- Tray Helix agents: https://tray.ai/helix/agents/
- Agent Gateway for MCP: https://tray.ai/platform/agent-gateway/
- Book a demo: https://tray.ai/contact/
