API Structure Overview
The Vantio API is organized into resource groups that represent different aspects of your referral program. Understanding this structure helps you navigate the API effectively.Resource Groups
The Vantio API is organized into five main resource groups:Users
Student ambassadors enrolled in your programs. Endpoints:GET /api/v1/users- List all usersGET /api/v1/users/{id}- Get specific user
- View all ambassadors
- Get ambassador details
- Filter by program
Referrals
Signups and conversions from your referral program. Endpoints:GET /api/v1/referrals- List referralsPOST /api/v1/referrals- Create referralGET /api/v1/referrals/{id}- Get referralPUT /api/v1/referrals/{id}- Update referral
- Track signups
- Monitor conversions
- Update referral status
Posters
QR code posters placed by ambassadors. Endpoints:GET /api/v1/posters- List postersGET /api/v1/posters/{id}- Get poster
- View all poster placements
- Download QR codes
- Track poster performance
Impressions
QR code scans and engagement tracking. Endpoints:GET /api/v1/impressions- List impressionsGET /api/v1/impressions/{id}- Get impression
- Track QR code scans
- Monitor engagement
- Analyze scan patterns
Earnings
Commissions and payouts for ambassadors. Endpoints:GET /api/v1/earnings- List earningsPOST /api/v1/earnings- Create earningGET /api/v1/earnings/{id}- Get earningPUT /api/v1/earnings/{id}- Update earning
- Track commissions
- Process payouts
- Monitor earnings status
Resource Relationships
Understanding how resources relate helps you navigate the API:Navigation Flow
- Start with a Program - Programs contain all other resources
- Find Users - Users are ambassadors in programs
- Track Posters - Posters are placed by users
- Monitor Impressions - Impressions come from poster scans
- Create Referrals - Referrals link to impressions
- Generate Earnings - Earnings link to referrals
Filtering Resources
Most list endpoints support filtering to help you navigate:By Program
By User/Student
By Status
Pagination
Navigate through large result sets using pagination:Common Navigation Patterns
Get All Data for a Program
Follow the Referral Chain
Dashboard Navigation
In addition to the API, you can navigate resources in the Vantio Dashboard:- Programs - View and manage all programs
- Users - Browse student ambassadors
- Referrals - Track signups and conversions
- Posters - Manage QR code posters
- Impressions - View scan analytics
- Earnings - Monitor commissions and payouts
Best Practices
- Start with programs - Programs are the top-level organization
- Use filters - Narrow results to what you need
- Follow relationships - Use IDs to navigate between resources
- Implement pagination - Handle large datasets efficiently
- Cache frequently accessed data - Reduce API calls
Next Steps
- Explore the API Reference for detailed endpoint documentation
- Check Code Examples for navigation patterns
- Review Integration Patterns for reusable code