A ACE Learning

Test accounts

All review accounts use the password AceLearning2026!.

Authentication

Send JSON to POST /api/v1/auth/login with email, password and device_name. Use the returned token as Authorization: Bearer TOKEN.

Core endpoints

MethodEndpointUse
POST/api/v1/auth/registerCreate a Learner
GET/api/v1/productsActive products
GET/api/v1/my/coursesEnrolled courses
POST/api/v1/ordersCreate an idempotent order
POST/api/v1/my/learning-sessionsStart active-time tracking

API rules

Never submit a role during registration, a user ID for self-scoped routes, or client-calculated prices. Administrative and manager endpoints use the same role and resource policies as the Web interface.