Levox REST & WebSocket APIs →
API Documentation
Authenticate with API keys, call 47+ endpoints organized by domain, and subscribe to WebSocket channels for live compliance metrics and alerts.
Authentication
Bearer tokens with per-company scoping. Rate limits based on license tier.
WebSocket
Subscribe to evidence analytics and compliance metrics streams for real-time dashboards.
Rate Limiting
Feature-based limits with monthly resets and persistent tracking.
Authentication
POST /api/auth/loginPOST /api/auth/registerGET /api/auth/google
License Management
GET /api/licensePOST /api/issue-licensePOST /api/revoke-licensePOST /api/check-scan-limitPOST /api/increment-scan-count
Evidence Engine
POST /api/evidence/generateGET /api/evidence/historyGET /api/evidence/trendsGET /api/evidence/analyticsGET /api/evidence/insightsGET /api/evidence/export
Company Management
GET /api/companiesPOST /api/companiesGET /api/companies/[id]GET /api/companies/[id]/members
Admin
GET /api/admin/dashboardGET /api/admin/users/[userId]POST /api/admin/update-license
Payments & Support
POST /api/payments/razorpay-orderPOST /api/payments/razorpay-verifyPOST /api/payments/razorpay-webhookPOST /api/contact
Authentication Example
curl -X POST https://levox.aifenrix.com/api/auth/login \
-H 'Content-Type: application/json' \
-d '{"email":"user@example.com","password":"your_password"}'WebSocket Subscription
wss://levox.aifenrix.com/api/ws/evidence?companyId=<id> channels: ["metrics","violations","insights"]