Skip to main content

Overview

This guide will walk you through integrating Vantio into your platform. You’ll learn how to:
  • Set up API authentication
  • Create your first program
  • Generate QR codes for ambassadors
  • Track referrals and earnings

Step 1: Get Your API Key

Before you can use the Vantio API, you need to obtain your secret API key.
  1. Log in to your Vantio Dashboard
  2. Navigate to SettingsAPI Keys
  3. Click Create New API Key
  4. Copy your secret key (it starts with sk_)
Keep your API key secure! Never expose it in client-side code or commit it to version control. Store it as an environment variable.

Step 2: Set Up Authentication

All Vantio API requests require authentication using a Bearer token. Include your API key in the Authorization header:

Example: Making Your First Request

Test your API key by fetching your users:

Step 3: Create a Program

Programs are the foundation of your referral system. Each program can have multiple ambassadors and track referrals independently.
The easiest way to create a program is through the Vantio Dashboard:
  1. Go to Programs in your dashboard
  2. Click Create New Program
  3. Fill in program details (name, description, commission rates)
  4. Save your program
You can also create programs programmatically using the API (if program creation endpoints are available in your plan).

Step 4: Add Student Ambassadors

Student ambassadors are the users who will place posters and generate referrals.

Add Ambassadors via Dashboard

  1. Navigate to Users in your dashboard
  2. Click Add User or Invite Ambassador
  3. Enter student information (name, email, program assignment)
  4. The student will receive an invitation email

Add Ambassadors via API

Step 5: Generate QR Code Posters

Each ambassador needs QR code posters to place around campus. Posters link scans to the ambassador who placed them.

View Posters via API

Each poster has a qr_code_url that you can download or display to ambassadors.

Step 6: Track the Referral Flow

The Vantio referral flow works like this:
  1. QR Code Scan → Creates an impression
  2. User Signs Up → Create a referral linked to the impression
  3. User Makes Purchase → Create an earning linked to the referral

Example: Creating a Referral

When a user signs up after scanning a QR code:

Example: Creating an Earning

When a referred customer makes a purchase:

Step 7: Monitor Performance

Track your referral program’s performance using the API:

Next Steps

API Authentication Guide

Learn more about authentication and making API requests

Code Examples

Explore more code examples and integration patterns

API Reference

Browse the complete API documentation

Need Help?

If you run into any issues:
  • Check the API Reference for detailed endpoint documentation
  • Review Code Examples for common integration patterns
  • Contact support through your dashboard