Admin
Get recent platform activity
GET
Access: Bearer token required. Roles: ADMIN.
A merged feed of the 5 most recent sign-ups and the 5 most recently created properties, sorted by time descending and cut to 8 items. Each item has a synthetic id (u_<userId> or p_<propertyId>), a type (signup or listing), an actor name, a human-readable description and the time (the document's createdAt). For listings the actor is the property's landlord, or the literal Unknown if that user no longer resolves. The property query has no filter, so drafts and soft-deleted properties can appear. Nothing else (payments, inspections, legal decisions) feeds this list.
bearerAuthheader
AuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
Up to 8 items (one of each type shown)
application/json- response
status*integersuccess*booleanmessage*stringdata*array<>curl -X GET 'http://localhost:4000/api/v1/admin/dashboard/activity'Example Response
{ "status": 200, "success": true, "message": "Recent activity fetched successfully", "data": [ { "id": "p_665f1c2e9b1d4a0012ab34cd", "type": "listing", "actor": "Ngozi Balogun", "description": "Listed a new apartment — 3-Bedroom Flat, Lekki Phase 1", "time": "2026-06-05T14:02:10.107Z" }, { "id": "u_665f1c2e9b1d4a0012ab34c4", "type": "signup", "actor": "Amaka Eze", "description": "New tenant signed up", "time": "2026-06-04T09:15:22.481Z" } ]}
HomeLink Hub