API Reference

How to Connect LearnWorlds to Web2Wave

To integrate your LearnWorlds account with Web2Wave, follow these steps. This integration ensures that after a user's first purchase, they are automatically created as a user in LearnWorlds and are granted access to the course.


✅ Step 1: Enable LearnWorlds Synchronization

In your Web2Wave dashboard, check the box that says “Synchronize with LearnWorlds” (as shown in the UI). This activates the fields where you will enter your API credentials and course data.


🔐 Step 2: Retrieve Your LearnWorlds API Credentials

You need the following four pieces of information from LearnWorlds:

  1. API URL – Format:
    https://<your_subdomain>.learnworlds.com/admin/api Replace <your_subdomain> with your actual LearnWorlds subdomain.

  2. Client ID and Secret Key
    To get these:

    • Go to your LearnWorlds Admin Panel
    • Navigate to Settings > Integrations > API & Webhooks
    • Click on Create API Client
    • Copy the generated Client ID and Secret Key
  3. Product ID

    • This is the internal ID of your course or product in LearnWorlds.
    • You can find it by going to Courses, selecting the relevant course, and checking the URL or course settings.
  4. Product Type

    • Set this to 'product' for paid courses
    • Set this to 'course' for free courses

📘 Official LearnWorlds API Documentation:
LearnWorlds API Guide


🛒 What Happens After a User Purchases

Once LearnWorlds is connected and active:

  • On the first successful purchase made through your Web2Wave funnel,
  • A new user will be automatically created in your LearnWorlds school,
  • That user will be granted access to the specified product or course.

This ensures a seamless experience without requiring the user to register again or manually navigate between platforms.


🧪 Test the Integration

After filling out all required fields:

  • Save your settings.
  • Make a test purchase using a test user to verify the user is created and course access is granted.

If anything fails, recheck the credentials and product ID, or consult the LearnWorlds API logs.