Get recent activity feed
Access: Bearer token required.
Returns up to 10 of the most recent events around the caller's properties, newest first, merged from four sources (at most 5 of each): message (chat rooms the caller participates in that have a last message; text is that message and property is the referenced property's title or, failing that, the room name), inspection (open inspections in scheduled or pending_review on the caller's properties; actor is the assigned inspector or Unassigned), booking (bookings on the caller's properties; actor is the tenant) and review (reviews of the caller's properties, with rating).
Every item has type, actor (a display name; Unknown or Anonymous when the user record is gone), property (a title string, Unknown when missing) and time. text is present only on messages and rating only on reviews. A message item can be the caller's own last message. No ids are returned, so items cannot be linked to their records from this response alone.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
The merged feed (empty array when there is no activity).
application/json- response
status*integersuccess*booleanmessage*stringdata*array<>curl -X GET 'http://localhost:4000/api/v1/dashboard/recent-activity'{ "status": 200, "success": true, "message": "Recent activity fetched successfully", "data": [ { "type": "message", "actor": "Chinedu Okafor", "text": "Is the duplex still available for viewing this Saturday?", "property": "4 Bedroom Duplex, Lekki Phase 1", "time": "2026-11-25T08:47:12.000Z" } ]}Get listing count by status GET
Returns pie-chart data: how many of the caller's properties (as landlordId or agentId) are in each status.
Get agent earnings totals GET
Returns flat lifetime totals for the dashboard tiles, covering only what the caller earned as an agent: inspectionEarnings is the sum of agentFee over paid inspections assigned...