List inspection requests for my properties
Access: Bearer token required.
Returns every inspection, in any status, for properties where the caller is the agentId or the landlordId, sorted by scheduledDate descending. propertyId is populated with title, media, location and type; inspectorId (the requester) with firstName, lastName, email and avatar. The result is a plain array: there is no pagination and no filtering. There is no role check; a user with no properties gets an empty array.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
All inspection requests on the caller's properties.
application/json- response
status*integersuccess*booleanmessage*stringdata*array<>curl -X GET 'http://localhost:4000/api/v1/inspection/agent/requests'{ "status": 200, "success": true, "message": "Agent inspection requests fetched successfully", "data": [ { "_id": "6660a2d47c3e5b0012de8f31", "propertyId": { "_id": "664a0b7e3f2c1d0012ef5a01", "title": "3 Bedroom Apartment in Lekki Phase 1", "type": "APARTMENT", "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 ] } }, "media": { "images": [ { "_id": "664a0b7e3f2c1d0012ef5a02", "url": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/properties/lekki-3bed-living.jpg", "metadata": { "tag": "Living room" } } ], "videos": [] } }, "inspectorId": { "_id": "663d9a1c5e4b2a0012cd7f10", "firstName": "Chinedu", "lastName": "Okafor", "avatar": "https://res.cloudinary.com/homelinkhub/image/upload/v1716100000/avatars/chinedu.jpg", "email": "chinedu.okafor@example.com" }, "scheduledDate": "2026-12-04T10:00:00.000Z", "status": "pending_review", "findings": { "issues": [], "photos": [] }, "approval": { "status": "pending" }, "cancellationReason": "Please confirm the gate code before I arrive.", "paymentStatus": "unpaid", "escrowId": null, "agentId": null, "agentFee": null, "createdAt": "2026-11-25T09:20:05.112Z", "updatedAt": "2026-11-25T09:20:05.112Z", "__v": 0 } ]}Request an inspection POST
Creates an inspection (property tour) request for the authenticated user, who is stored as inspectorId.
List my inspection requests GET
Returns every inspection the caller requested (inspectorId is the caller), in any status, sorted by scheduledDate descending, as a plain array without pagination.
HomeLink Hub