{"message":"DoorMen Logistics API v1.0","version":"1.0.0","endpoints":{"auth":{"POST /auth/send-otp":"Send OTP to phone number","POST /auth/verify-otp":"Verify OTP and login/register","POST /auth/login":"Login with phone number (sends OTP)","POST /auth/complete-profile":"Complete user profile (requires auth)","GET /auth/profile":"Get current user profile (requires auth)","POST /auth/refresh-token":"Refresh JWT token"},"users":{"GET /users/profile":"Get user profile","PUT /users/profile":"Update user profile","GET /users/location":"Get user locations","POST /users/location":"Update user location","DELETE /users/account":"Deactivate user account"},"client":{"GET /client/dashboard":"Get client dashboard data","GET /client/locations":"Get preferred locations","POST /client/locations":"Add preferred location","PUT /client/locations/:id":"Update preferred location","DELETE /client/locations/:id":"Delete preferred location","GET /client/payment-methods":"Get payment methods","POST /client/payment-methods":"Add payment method"},"driver":{"GET /driver/dashboard":"Get driver dashboard data","PUT /driver/profile":"Update driver profile","POST /driver/documents":"Upload documents","GET /driver/vehicles":"Get driver vehicles","POST /driver/vehicles":"Add new vehicle","PUT /driver/vehicles/:id":"Update vehicle","DELETE /driver/vehicles/:id":"Delete vehicle","PUT /driver/availability":"Update availability status","GET /driver/earnings":"Get earnings summary","PUT /driver/bank-details":"Update bank details"},"admin":{"POST /admin/login":"Admin login with email and password","GET /admin/dashboard":"Get admin dashboard statistics","GET /admin/drivers":"Get drivers list with filters","PATCH /admin/drivers/:driverId/verification":"Approve or reject driver verification","GET /admin/users":"Get all users list (clients + drivers)","GET /admin/users/:userId":"Get detailed user information","PATCH /admin/users/:userId/status":"Activate or deactivate user account","GET /admin/reward-settings":"Get current reward coin configuration","PUT /admin/reward-settings":"Update reward coin configuration dynamically"},"rewards":{"POST /rewards/earn":"Add reward coins after a completed ride","POST /rewards/redeem":"Redeem coins into ride discount value","GET /rewards/balance":"Get reward balance and rupee value","GET /rewards/history":"Get paginated reward transaction history"}},"authentication":{"type":"Bearer Token (JWT)","header":"Authorization: Bearer <token>","flow":"Phone OTP based authentication"}}