Properties
List reviews for a listing
GET
Access: Public, no token needed.
Public list of a property's reviews, newest first, with reviewerId populated (firstName, lastName, avatar). All reviews are returned whether or not they are verified; the verified-only filter is commented out in the code. Pagination is reported as total and pages next to the list; the requested page and limit are not echoed back. The property lookup does not exclude soft-deleted properties.
id*stringObjectId of the property. A malformed id produces a 500 with Mongoose's cast error message.
page?integer1-based page number. Default 1.
Default
1limit?integerPage size. Default 10; not capped by the server.
Default
10A page of reviews. pages is ceil(total / limit).
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/property/string/reviews'Example Response
{ "status": 200, "success": true, "message": "Reviews fetched successfully", "data": { "reviews": [ { "_id": "66a1d2e3f4a5b6c7d8e9f012", "propertyId": "665f1c2e9b1d4a0012ab34cd", "reviewerId": { "_id": "664b1c8f3a9d4e0012bb33cc", "firstName": "Aisha", "lastName": "Bello", "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1760000000/homelinkhub/media/aisha.jpg" }, "transactionId": null, "rating": 4, "title": "Clean, quiet and well managed", "comment": "The apartment matched the photos, power was steady and the agent responded quickly whenever we had a question.", "categories": { "cleanliness": 5, "communication": 4, "accuracy": 4, "location": 5 }, "verified": false, "helpful": 0, "unhelpful": 0, "createdAt": "2026-11-25T13:20:00.000Z", "updatedAt": "2026-11-25T13:20:00.000Z", "__v": 0 } ], "total": 1, "pages": 1 }}
HomeLink Hub