List my bookings
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.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
page?integer1-based page number. Defaults to 1.
1limit?integerBookings per page. Defaults to 20; no upper bound is enforced.
20Page of bookings.
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X GET 'http://localhost:4000/api/v1/booking/me'{ "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 } }}Create a booking request POST
Creates a booking in status requested for the authenticated user (stored as tenantId); landlordId is copied from the property.
List payment requests for my properties GET
Returns the landlord's incoming payment requests: bookings of type reservation or shortlet whose landlordId is the caller, newest first.