Skip to Content
HomeLink Hub
Bookings

List my bookings

GET
/api/v1/booking/me

Access: Bearer token required.

Returns a page of bookings, newest first, with propertyId (title, location), tenantId and landlordId (firstName, lastName, avatar) populated.

The filter depends on the caller's role: TENANT sees bookings where they are the tenant, LANDLORD sees bookings where they are the landlord. For every other role (AGENT, LAWYER, DEVELOPER, ADMIN) the service applies no filter at all and returns every booking on the platform. Bookings of all types (viewing, reservation, shortlet) and all statuses (requested, confirmed, completed, cancelled) are included.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

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

Query Parameters

page?integer

1-based page number. Defaults to 1.

Default1
limit?integer

Bookings per page. Defaults to 20; no upper bound is enforced.

Default20

Response Body

Page of bookings.

application/json
  1. response
status*integer
success*boolean
message*string
data*
Example Request
curl -X GET 'http://localhost:4000/api/v1/booking/me'
Example Response
{  "status": 200,  "success": true,  "message": "Bookings fetched successfully",  "data": {    "bookings": [      {        "_id": "665f1c2e9b1d4a0012ab34cd",        "propertyId": {          "_id": "664a0b7e3f2c1d0012ef5a01",          "title": "3 Bedroom Apartment in Lekki Phase 1",          "location": {            "state": "Lagos",            "lga": "Eti-Osa",            "community": "Lekki Phase 1",            "street": "14 Admiralty Way",            "nearestLandmark": "Lekki Phase 1 Gate",            "coordinates": {              "type": "Point",              "coordinates": [                3.4723,                6.4474              ]            }          }        },        "tenantId": {          "_id": "663d9a1c5e4b2a0012cd7f10",          "firstName": "Chinedu",          "lastName": "Okafor",          "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/avatars/chinedu.jpg"        },        "landlordId": {          "_id": "6629e4f08a7b3c0012aa9e42",          "firstName": "Folake",          "lastName": "Adeyemi",          "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/avatars/folake.jpg"        },        "status": "requested",        "type": "viewing",        "dates": {          "requestedDate": "2026-12-04T10:00:00.000Z",          "visitDuration": 1        },        "notes": "I would like to see the kitchen and the parking space.",        "escrowId": null,        "createdAt": "2026-11-25T09:14:22.318Z",        "updatedAt": "2026-11-25T09:14:22.318Z",        "__v": 0      }    ],    "pagination": {      "page": 1,      "limit": 20,      "total": 1,      "pages": 1    }  }}