Skip to Content
HomeLink Hub
Properties

List my listings

GET
/api/v1/property/me

Access: Bearer token required.

Returns the listings the caller owns or manages: every non-deleted property where they are the landlordId or the agentId, in any status, including drafts. Newest first by default.

Each item is the property document plus two computed counters: viewCount (total recorded views, one per user per day) and leadCount (inspection requests for the listing that are still open: scheduled, pending_review or in_progress). landlordId is not populated here.

None of the query parameters are validated. search and address are used as case-insensitive regular expressions; an unknown status is silently ignored; a price bound of 0 is ignored. Any failure while querying is reported as a 500 Failed to fetch properties.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

Access token returned by sign-in. Send it as Authorization: Bearer <token>.

Query Parameters

page?integer

1-based page number. Default 1.

Default1
limit?integer

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

Default20
search?string

Free text over title, street, community and nearest landmark (case-insensitive).

address?string

Case-insensitive match on street or nearest landmark.

state?string

Exact match on location.state.

type?string

Exact property type.

status?string

Listing status filter; unknown values are ignored.

minPrice?number

Lower price bound (inclusive).

maxPrice?number

Upper price bound (inclusive).

sort?string

price_asc, price_desc, newest or rating.

Response Body

A page of the caller's listings with view and lead counts.

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/property/me'
Example Response
{  "status": 200,  "success": true,  "message": "Properties fetched successfully",  "data": {    "properties": [      {        "_id": "665f1c2e9b1d4a0012ab34cd",        "landlordId": "664a0b7e2f8c3d0011aa22bb",        "agentId": null,        "title": "Serviced 3-bedroom apartment in Lekki Phase 1",        "description": "Spacious serviced 3-bedroom apartment with a fitted kitchen, 24-hour power and secure parking, five minutes from Admiralty Way.",        "type": "APARTMENT",        "status": "listed",        "location": {          "state": "Lagos",          "lga": "Eti-Osa",          "community": "Lekki Phase 1",          "street": "12 Admiralty Way",          "nearestLandmark": "Lekki Phase 1 Gate",          "coordinates": {            "type": "Point",            "coordinates": [              3.4723,              6.4474            ]          }        },        "details": {          "bedrooms": 3,          "bathrooms": 3,          "squareFeet": 1800,          "features": [            "Fitted kitchen",            "En-suite rooms"          ]        },        "pricing": {          "rentPrice": 4500000,          "salePrice": null,          "currency": "NGN",          "rentDurationYears": 1        },        "availability": {          "availableFrom": "2026-12-01T00:00:00.000Z",          "bookingCalendar": []        },        "shortLet": {          "minNights": 1,          "bookedRanges": []        },        "amenities": [          "wifi",          "parking",          "Borehole"        ],        "media": {          "images": [            {              "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1764061200/homelinkhub/media/lekki-3bed-living.jpg",              "metadata": {                "address": "12 Admiralty Way, Lekki Phase 1, Lagos",                "coordinates": [                  3.4723,                  6.4474                ],                "gps": [                  3.4725,                  6.4476                ],                "tag": "Living Room"              },              "_id": "665f1c2e9b1d4a0012ab34ce"            }          ],          "videos": []        },        "verification": {          "isVerified": true,          "verifiedAt": "2026-11-20T10:15:00.000Z",          "verifiedBy": "664e4f1c6d2a7b0015ee66ff"        },        "rating": {          "averageRating": 0,          "reviewCount": 0        },        "landlordKYCStatus": "VERIFIED",        "legalStatus": "legally_verified",        "activeLegalAssignmentId": null,        "deletedAt": null,        "createdAt": "2026-11-18T09:30:00.000Z",        "updatedAt": "2026-11-20T10:15:00.000Z",        "__v": 0,        "viewCount": 42,        "leadCount": 3      }    ],    "pagination": {      "page": 1,      "limit": 20,      "total": 1,      "pages": 1    }  }}