{"message":"Lampose Main Backend API","status":"running","environment":"development","versions":["v1","v2"],"routes":{"v1":[{"path":"/api/v1/health","description":"process + database status"},{"path":"/api/v1/properties","description":"onboarding CRUD, Cloudinary upload, WhatsApp verification"},{"path":"/api/v1/admin","description":"admin console accounts (admins collection)"},{"path":"/api/v1/admin","description":"dashboard stats, activity feed, system telemetry"},{"path":"/api/v1/admin/analytics","description":"GA4 website analytics (Google Analytics Data API)"},{"path":"/api/v1/verifications","description":"owner/verifier verification requests"},{"path":"/api/v1/whatsapp","description":"Twilio inbound webhook"},{"path":"/api/v1/permissions","description":"employee edit/delete permission requests"},{"path":"/api/v1/admin/visit-requests","description":"Super Admin CRUD — visitrequests collection"},{"path":"/api/v1/admin/partner-payouts","description":"Super Admin — Stay Partner payout queue, RazorpayX dispatch"},{"path":"/api/v1/admin/refunds","description":"guest refunds for cancelled hotel stays; Super Admin marks them paid"},{"path":"/api/v1/admin/monitor","description":"booking + payment monitor, per category; hotel commission and payout release"},{"path":"/api/v1/admin/visit-fees","description":"assisted-visit fee table per layout; Super Admin edits"},{"path":"/api/v1/admin/scriper-users","description":"Super Admin CRUD — leads panel accounts (scriper_users)"},{"path":"/api/v1/admin/scriper-jobs","description":"Super Admin CRUD — scrape job history (scriper_jobs)"},{"path":"/api/v1/admin/scriper-leads","description":"Super Admin CRUD — scraped leads (scriper_leads)"},{"path":"/api/v1/admin/products","description":"Super Admin CRUD — products collection"},{"path":"/api/v1/admin/whatsapp","description":"admin-console ad-hoc WhatsApp sends (free text or configured Content Templates)"},{"path":"/api/v1/admin/food-restaurants","description":"food partner applications: the approval queue and its decisions"},{"path":"/api/v1/admin/food-orders","description":"food orders: the queue that needs a human, one order reconciled, and the refund"},{"path":"/api/v1/admin/food-payouts","description":"restaurant payout requests: the queue, and marking one paid"},{"path":"/api/v1/admin/food-staff-access","description":"Lampose staff sign-ins to restaurant accounts, and what each one changed (read-only)"},{"path":"/api/v1/restaurant-admin","description":"the restaurant owner’s console: their own orders, their own menu"},{"path":"/api/v1/order-link","description":"the link in the restaurant’s new-order WhatsApp: view and move ONE order, no sign-in"},{"path":"/api/v1/admin/drivers","description":"rider applications: the approval queue, suspensions, and the roster"},{"path":"/api/v1/admin/rider-withdrawals","description":"rider wallet withdrawals: the queue, and marking one paid"},{"path":"/api/v1/admin/rider-ledger","description":"rider wallet/outstanding: one rider’s history, corrections, and the cash limit"},{"path":"/api/v1/admin/support","description":"support queue: threads from all three apps, replies, status and assignment"},{"path":"/api/v1/admin/sales-reps","description":"sales tracking: the roster and each rep's live position and path"}],"v2":[{"path":"/api/v2/health","description":"process + database status"},{"path":"/api/v2/listings","description":"public Explore feed for lampose.com"},{"path":"/api/v2/visit-requests","description":"availability requests: OTP, then the owner is asked on WhatsApp"},{"path":"/api/v2/payments","description":"razorpay webhook: a paid ₹199 visit starts the slot step"},{"path":"/api/v2/properties","description":"direct property CRUD for the leads panel"},{"path":"/api/v2/auth","description":"leads panel + onboarding employee login"},{"path":"/api/v2/users","description":"leads panel team management"},{"path":"/api/v2/scraper","description":"Google Maps lead scraping, leads, exports"},{"path":"/api/v2/interest","description":"public \"notify me\" sign-ups, filed as Website leads"},{"path":"/api/v2/customers","description":"mobile app accounts: phone + one-time code, profile"},{"path":"/api/v2/support","description":"mobile app support tickets and safety reports"},{"path":"/api/v2/devices","description":"forget a push token without a session (sign-out after expiry)"},{"path":"/api/v2/app-version","description":"minimum supported app version, for forced updates"},{"path":"/api/v2/partners/support","description":"Stay Partner app: support tickets, including guest tickets about their properties"},{"path":"/api/v2/partners","description":"Stay Partner app: owner accounts, their properties and visit requests"},{"path":"/api/v2/food-partners/support","description":"Food-Partner app: support tickets"},{"path":"/api/v2/food-partners","description":"Food-Partner app: restaurant onboarding, menu, orders, public discovery"},{"path":"/api/v2/food-web","description":"lampose.com food pages: the feed, a kitchen and its menu, checkout lists, orders and tracking"},{"path":"/api/v2/drivers/support","description":"Driver app: support tickets"},{"path":"/api/v2/drivers","description":"Driver app: rider accounts, duty, live position, delivery offers"},{"path":"/api/v2/sales","description":"Tracker app: sales rep accounts, duty switch, live location"},{"path":"/api/v2/account-deletion","description":"delete-account page: request deletion of a diner, owner, kitchen or rider account by SMS code"}],"legacy":[{"path":"/api/health","servedBy":"shared"},{"path":"/api/properties","servedBy":"v1"},{"path":"/api/admin","servedBy":"v1"},{"path":"/api/admin","servedBy":"v1"},{"path":"/api/admin/analytics","servedBy":"v1"},{"path":"/api/verifications","servedBy":"v1"},{"path":"/api/whatsapp","servedBy":"v1"},{"path":"/api/permissions","servedBy":"v1"},{"path":"/api/admin/visit-requests","servedBy":"v1"},{"path":"/api/admin/partner-payouts","servedBy":"v1"},{"path":"/api/admin/refunds","servedBy":"v1"},{"path":"/api/admin/monitor","servedBy":"v1"},{"path":"/api/admin/visit-fees","servedBy":"v1"},{"path":"/api/admin/scriper-users","servedBy":"v1"},{"path":"/api/admin/scriper-jobs","servedBy":"v1"},{"path":"/api/admin/scriper-leads","servedBy":"v1"},{"path":"/api/admin/products","servedBy":"v1"},{"path":"/api/admin/whatsapp","servedBy":"v1"},{"path":"/api/listings","servedBy":"v2"},{"path":"/api/visit-requests","servedBy":"v2"},{"path":"/api/auth","servedBy":"v2"},{"path":"/api/users","servedBy":"v2"},{"path":"/api/scraper","servedBy":"v2"}]}}