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.- Log in to your Vantio Dashboard
- Navigate to Settings → API Keys
- Click Create New API Key
- Copy your secret key (it starts with
sk_)
Step 2: Set Up Authentication
All Vantio API requests require authentication using a Bearer token. Include your API key in theAuthorization 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.Using the Dashboard
Using the Dashboard
The easiest way to create a program is through the Vantio Dashboard:
- Go to Programs in your dashboard
- Click Create New Program
- Fill in program details (name, description, commission rates)
- Save your program
Using the API
Using the API
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
- Navigate to Users in your dashboard
- Click Add User or Invite Ambassador
- Enter student information (name, email, program assignment)
- 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
qr_code_url that you can download or display to ambassadors.
Step 6: Track the Referral Flow
The Vantio referral flow works like this:- QR Code Scan → Creates an
impression - User Signs Up → Create a
referrallinked to the impression - User Makes Purchase → Create an
earninglinked 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