{"authentication":"Bearer JWT token in Authorization header","business_model":{"free_tier":{"features":"Basic templates, PDF export, Email support","pdf_pages_month":"50 pages/month","pdf_size_limit":"10 pages per PDF","price":"Free forever","questions_month":"100 questions/month","questions_per_quiz":"20 questions max","quizzes_month":"5 quizzes/month","storage":"500MB"},"pro_tier":{"features":"Everything in Free + Priority processing, Advanced AI, Team collaboration (5 users), API access, Export to Word/HTML","pdf_pages_month":"Unlimited","pdf_size_limit":"1000 pages per PDF","price":"$78 HKD/month (~$10 USD)","questions_month":"Unlimited","questions_per_quiz":"200 questions max","quizzes_month":"Unlimited","storage":"50GB"}},"endpoints":{"api":{"dashboard":"GET /api/v1/dashboard (protected)","documents":{"delete":"DELETE /api/v1/documents/:id (protected)","download":"GET /api/v1/documents/:id/url (protected)","get":"GET /api/v1/documents/:id (protected)","list":"GET /api/v1/documents (protected)","quota":"GET /api/v1/documents/quota (protected)","stats":"GET /api/v1/documents/stats (protected)","upload":"POST /api/v1/documents (protected)"},"me":"GET /api/v1/me (protected)","papers":"GET /api/v1/papers (protected - deprecated)","quizzes":{"delete":"DELETE /api/v1/quizzes/:id (protected)","generateFromConcept":"POST /api/v1/quizzes/generate/concept (protected)","generateFromDocument":"POST /api/v1/quizzes/generate/document (protected)","get":"GET /api/v1/quizzes/:id (protected)","list":"GET /api/v1/quizzes (protected)","quota":"GET /api/v1/quizzes/quota (protected)","stats":"GET /api/v1/quizzes/stats (protected)","templates":"GET /api/v1/quizzes/templates (protected)"},"subscription":{"cancel":"POST /api/v1/subscription/cancel (protected)","checkout":"POST /api/v1/subscription/checkout (protected)","get":"GET /api/v1/subscription (protected)","plans":"GET /api/v1/subscription/plans (protected)"},"templates":"GET /api/v1/templates (protected)","usage":{"current":"GET /api/v1/usage/current (protected)","stats":"GET /api/v1/usage/stats (protected)"}},"auth":{"authCallback":"GET /auth/callback","forgotPassword":"POST /auth/forgot-password","googleAuth":"GET /auth/google","healthCheck":"GET /auth/health","login":"POST /auth/login","logout":"POST /auth/logout (protected)","profile":"GET /auth/profile (protected)","register":"POST /auth/register","updateProfile":"PUT /auth/profile (protected)"},"documentation":"GET /","health":"GET /health","public":{"templates":"GET /api/public/templates (optional auth)"},"webhooks":{"stripe":"POST /webhook/stripe (public)"}},"features":["supabase-authentication","subscription-tiers","usage-quotas","ai-quiz-generation","document-based-generation","concept-based-generation","vector-search","openai-integration","gemini-integration","stripe-billing","dual-mode-generation","smart-quota-management"],"service":"CampusHub Quiz Generator API","target_users":["educators","trainers","content-creators"],"version":"1.0.0"}