{"message":"Welcome to Lumin Mail Service","version":"2.0.0","endpoints":{"health":"GET /health","api":{"register":"POST /api/register (create account)","login":"POST /api/login (login with email/password)","password_reset_request":"POST /api/password-reset/request (request password reset)","password_reset_confirm":"POST /api/password-reset/confirm (confirm password reset with token)","pricing":"GET /api/pricing (view plans)","send_email":"POST /api/send-email (requires API key)","send_batch":"POST /api/send-batch (bulk email sending, requires API key)","usage":"GET /api/usage (requires API key)","email_logs":"GET /api/email-logs (requires API key)","regenerate_api_key":"POST /api/account/regenerate-api-key (regenerate API key, requires API key + password)","delete_account":"DELETE /api/account (delete account, requires API key + password)","templates":"GET/POST /api/templates (manage email templates)","template":"GET/PUT/DELETE /api/templates/{id} (individual template)","webhooks":"GET/POST /api/webhooks (manage webhook endpoints)","webhook":"GET/PUT/DELETE /api/webhooks/{id} (individual webhook)","test_webhook":"POST /api/webhooks/{id}/test (test webhook endpoint)","custom_domains":"GET/POST /api/custom-domains (list, or add a sending domain: Pro+ only)","custom_domain":"GET/DELETE /api/custom-domains/{id} (refresh status and DNS records, or delete)","verify_domain":"POST /api/custom-domains/{id}/verify (ask the provider to check the DNS records)","default_sender":"PUT/DELETE /api/custom-domains/{id}/default-sender (set or clear the default sender)","analytics_overview":"GET /api/analytics/overview (dashboard overview)","analytics_emails":"GET /api/analytics/emails (email performance metrics)","analytics_templates":"GET /api/analytics/templates (template analytics, Startup+)","analytics_recipients":"GET /api/analytics/recipients (recipient analytics, Startup+)","analytics_trends":"GET /api/analytics/trends (trend analysis, Startup+)","analytics_advanced":"GET /api/analytics/advanced (comprehensive analytics, Pro+)","ab_tests":"GET/POST /api/ab-tests (A/B testing management, Pro+)","ab_test":"GET /api/ab-tests/{id} (individual A/B test)","ab_test_variants":"POST /api/ab-tests/{id}/variants (create test variant)","ab_test_start":"POST /api/ab-tests/{id}/start (start A/B test)","ab_test_complete":"POST /api/ab-tests/{id}/complete (complete A/B test)","ab_test_results":"GET /api/ab-tests/{id}/results (get test results)","template_categories":"GET/POST /api/template-categories (template categories, Enterprise+)","marketplace_templates":"GET/POST /api/marketplace-templates (template marketplace)","marketplace_template":"GET /api/marketplace-templates/{id} (individual template)","rate_template":"POST /api/marketplace-templates/{id}/rate (rate template)","use_template":"POST /api/marketplace-templates/{id}/use (record template usage)","sub_accounts":"GET/POST /api/sub-accounts (list or create sub-accounts; then act as one with X-Sub-Account: <id>)","sub_account":"GET/PUT/DELETE /api/sub-accounts/{id} (tier, monthly quota, billing, status)","sub_account_key":"POST /api/sub-accounts/{id}/api-key (issue a new key for a sub-account)","billing_statement":"GET /api/billing/statement?month=YYYY-MM (usage and charges per sub-account)","transfer_domain":"POST /api/custom-domains/{id}/transfer (give a verified domain to a sub-account)"},"auth":{"refresh":"POST /api/auth/refresh (refresh session token, requires session token)","logout":"POST /api/auth/logout (logout, requires session token)"},"dashboard":{"profile":"GET /api/dashboard/profile (get user profile, requires session token)"},"admin":{"admin_register":"POST /admin/register (create account with any plan, requires admin key)","email_provider":"GET/PUT /admin/email-provider (get or set email provider: postmark | sendgrid | resend)","tenants":"GET /admin/tenants, PUT /admin/tenants/{id} (plan, quota, parent, status of any account)"}}}
