Get dashboard stat cards
Access: Bearer token required.
Returns the headline counters for the agent/landlord dashboard, computed over the properties the caller owns, meaning the caller is the property's landlordId (creator) or its assigned agentId.
totalListings counts every such property in any status (drafts included; the query does not filter out soft-deleted listings either),listingsThisMonth those created since the 1st of the current month (UTC), and activeListings those with status listed. pendingRequests is the number of inspections on those properties in scheduled or pending_review. successfulClosings counts properties in rented or sold, and closingsVolume adds up the listed pricing.rentPrice and pricing.salePrice of those properties (asking prices, not money actually received). There is no role check: any authenticated user can call it and gets zeros if they own nothing.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
The stat card values.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/dashboard/stats'{ "status": 200, "success": true, "message": "Dashboard stats fetched successfully", "data": { "totalListings": 18, "listingsThisMonth": 3, "activeListings": 11, "pendingRequests": 4, "successfulClosings": 5, "closingsVolume": 131500000 }}List my payouts GET
Paginated history of every bank transfer recorded for the caller as beneficiary, newest first: wallet withdrawals (purpose: walletwithdrawal), dispatched or automatically releas...
Get views and inquiries chart data GET
Returns the area-chart series for the caller's properties (those where they are landlordId or agentId).