API Reference

Last updated: 2026-07-06

General Information

Route Groups

GroupPathDescription
Auth/authSignup, login, verify, password reset
Guardian/guardianGuardian, links
Consent/consentConsent management
Country Policy/country-policyCountry-specific policies
Courses/coursesBrowse, enroll in courses
Progress/progressTrack progress
Payments/paymentsPayPal payments
Admin/adminSystem administration
Products/productsMarketplace products
Entitlements/entitlementsAI entitlements
Refunds/refundsRefunds
GDPR/gdprData export/deletion
AI/aiAI conversations, memory (proxy to aiagent.iai.one)
CodeLab/codelabCode practice
Marketplace/marketplaceProduct marketplace
School/schoolSchool management
Contact/contactContact form
Portfolio/portfolioPersonal portfolio
Certificates/certificatesCertificates
Notifications/notificationsIn-app notifications
Features/featuresSystem features
Projects/projectsUser projects
Factory/factoryCourse Factory
Creator/creatorCreator Studio

Rate Limits

See rate limits for details. Response headers:

Error Format

{
  "error": "rate_limited",
  "message": "Too many requests. Please try again later.",
  "retryAfter": 60
}

Health Checks

GET /health          # API health
GET /health/email    # Email system health

AI API Endpoint

The AI system is powered by the self-learning platform at aiagent.iai.one. The HaMi Code Việt API acts as a proxy:

All requests go through api.hamicodeviet.com/ai, authenticated with JWT and rate-limited before being forwarded to aiagent.iai.one.