Skip to Content
HomeLink Hub
Properties

List reviews for a listing

GET
/api/v1/property/{id}/reviews

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.

Path Parameters

id*string

ObjectId of the property. A malformed id produces a 500 with Mongoose's cast error message.

Query Parameters

page?integer

1-based page number. Default 1.

Default1
limit?integer

Page size. Default 10; not capped by the server.

Default10

Response Body

A page of reviews. pages is ceil(total / limit).

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
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  }}