Skip to main content

Getting Started

This guide will walk you through making your first API call to the MLM Platform.

Prerequisites

  • An MLM Platform account
  • Access to the Admin Dashboard
  • A development environment with HTTP client capabilities

Step 1: Get Your API Key

  1. Log in to the Admin Dashboard
  2. Navigate to Settings > API Keys
  3. Click Create API Key
  4. Select SANDBOX environment for testing
  5. Copy your API key and store it securely
Never expose your API key in client-side code or public repositories.

Step 2: Make Your First Request

Let’s verify your API key by creating a test user.

Step 3: Verify the Response

A successful response will look like this:
Check the response X-Environment header to confirm which environment the platform selected (derived from your API key):

Step 4: Record a Purchase

Now let’s record a purchase to trigger commission calculation:

Next Steps

Authentication

Learn about API key security best practices

Webhooks

Set up webhooks for real-time events

Widget Embedding

Embed referral widgets in your app

API Reference

Explore all available endpoints