🤖 WhatsApp Bot Express API

Node.js Express Server with Firebase Integration

Express Server is Running

Production: https://quickstay-database-apis.vercel.app
Local: http://localhost:3001

👤 User Management

  • GET /verify-user/:phoneNumber
    Check if user is tenant or lead

🏠 Tenant APIs

  • GET /tenants/:id/payments
    Get payment history (with limit param)
  • POST /tenants/:id/complaints
    Create new complaint
  • GET /tenants/:id/complaints
    Get complaints (with limit param)
  • GET /tenants/:id/complaints/:cid/status
    Check complaint status
  • POST /tenants/:id/notices
    Submit notice

🔍 Property Discovery

  • GET /properties
    Get all properties with pagination
  • GET /properties/operator/:operatorId
    Get properties by operator ID
  • GET /properties/search
    Search by location
  • GET /properties/:id
    Get property details

Utilities

  • GET /health
    Health check