Skip to Content
HomeLink Hub
MobileAgent

Inspection Requests

How agents and landlords review, approve and reject tenant inspection requests in the mobile app.

An inspection request is created when a tenant asks to view one of your properties. The mobile app gives agents and landlords two places to work with them: a detail screen opened from the Bookings tab, and a combined "Incoming Requests" screen that also lists payment requests.

Where it lives

ScreenRouteFileWho sees it
Incoming Requests/(tabs)/requestsapp/(tabs)/requests.tsxAgent, landlord (hidden tab, no tab bar icon)
Inspection request detail/requests/[id]app/requests/[id].tsxAgent, landlord who owns the property
Entry list/(tabs)/bookings (Inspections tab)app/(tabs)/bookings.tsxAgent, landlord

Supporting code: services/requests/inspections-api.ts (RTK Query slice inspectionsApi, tag InspectionRequests) and interface/inspections.types.ts.

Incoming Requests has no in-app entry point

requests is registered in app/(tabs)/_layout.tsx with href: null, so it has no tab icon, and no screen in the app calls router.push("/requests"). It can only be reached by a deep link to /requests. The day-to-day path is Bookings tab, then the Inspections list, then the detail screen.

Before you start

  • Signed in as an agent or landlord. Agents must have finished agent setup, otherwise the tabs layout redirects to /agent-onboarding (see Agent onboarding and KYC).
  • You only see requests for properties where you are the landlordId or agentId. The backend returns 403 with "You are not authorised to review this inspection" for anything else.
  • No device permissions are needed.

Flow

Statuses and badges

The inspection status field has five values. Each screen labels them differently:

Status valueDetail screen badgeBookings tab badgeIncoming Requests chipIncoming Requests filter
pending_reviewPending reviewPending ReviewPendingpending
scheduledScheduledScheduledAcceptedaccepted
in_progressIn progressIn ProgressAcceptedaccepted
completedCompletedCompletedCompletedcompleted
cancelledCancelledCancelledDeclinedall only

Transitions, as implemented in the backend (service/src/controllers/inspection.controller.ts and transaction.controller.ts):

  1. Tenant submits POST /api/v1/inspection/request. The inspection is created as pending_review.
  2. When the tenant's inspection fee payment is verified, the backend sets the status to scheduled.
  3. Agent approves with PATCH /api/v1/inspection/:id/review. Status becomes in_progress and approval.status becomes approved.
  4. Agent rejects with the same endpoint. Status becomes cancelled, cancellationReason is set to the rejection reason, and the inspection is removed from the calendar.

Action buttons only appear while the status is pending_review.

Review a request from the detail screen

  1. Open the Bookings tab and stay on Inspections. Tap a card. The app pushes /requests/[id].

  2. The screen titled Inspection request fires GET /api/v1/inspection/:id. The backend adds agentInspectionFee to the response (the owner's own inspection fee, else the platform default inspection fee).

  3. Three cards are shown:

    • Property: first image, title (or "Unknown property"), status badge, and location built from street, community, LGA and state.
    • Inspector: Name, Email (the tenant who asked for the inspection).
    • Inspection: Scheduled, Completed (only when set), Inspection fee, Requested, Notes (only when set), Cancellation reason (only when set). Dates are formatted like Mar 4, 2026 · 2:30 PM.
  4. When the status is pending_review, two buttons appear: Reject (red outline) and Approve.

  5. Tapping Approve opens a native alert titled "Approve request?" with the text "The inspector will be notified that this inspection is approved." and buttons Cancel and Approve.

  6. Confirming fires PATCH /api/v1/inspection/:id/review with body:

    { "action": "approve" }
  7. On success an alert shows "Done" with "Inspection request approved.". The mutation invalidates the InspectionRequests tags, so the detail and every list refetch, the badge changes to In progress and the buttons disappear.

  8. Tapping Reject opens "Reject request?" with "The inspector will be notified that this inspection was rejected." and buttons Cancel and Reject. Confirming sends the same endpoint with action set to reject. Success shows "Done" with "Inspection request rejected.".

  9. Any failure shows an alert titled "Error" with the server message, or "Something went wrong." when there is none.

Reject from the detail screen is sent without a reason

app/requests/[id].tsx calls the review mutation with only id and action. The backend validation (reviewInspectionValidation) requires rejectionReason whenever action is reject, so this request is refused with a 400 and the user sees the "Error" alert. There is no input for a reason on this screen. Rejecting from the Incoming Requests screen works because that screen sends a hardcoded reason.

Review from the Incoming Requests screen

  1. The screen loads two lists at once: GET /api/v1/inspection/agent/requests and GET /api/v1/booking/landlord/payment-requests?page=1&limit=50.
  2. Header: Incoming Requests, subtitle "Review and manage inspection and payment requests.", and a download icon button.
  3. A two-part segment switches the list: Inspection (n) and Payment (n). The numbers count inspections in pending_review and bookings in requested. Switching segment resets the filter to all.
  4. Filter chips: all, pending, accepted, completed (see the mapping table above). Cancelled items only appear under all.
  5. Each inspection card shows the tenant avatar, name and email, a status chip, the property thumbnail, title and "community, state", an Inquiry box with the request notes (or "No inquiry note provided.") and "Scheduled: " followed by the date.
  6. Cards in pending_review show Reject and Accept. There is no confirmation dialog on this screen; the request is sent immediately.
    • Accept sends PATCH /api/v1/inspection/:id/review with action set to approve. Success alert: "Success" / "Inspection request approved.". Failure alert: "Error" / "Failed to approve inspection request.".
    • Reject sends the same endpoint with action set to reject and rejectionReason set to the fixed text "Declined from mobile requests screen". Success alert: "Updated" / "Inspection request rejected.". Failure alert: "Error" / "Failed to reject inspection request.".
  7. While any inspection review is in flight, the Reject and Accept buttons on every inspection card are disabled.
  8. Cards on this screen are not tappable; they do not open the detail screen.

The Payment segment of this screen is covered in Bookings and payment requests.

No reschedule on mobile

The mobile app has no reschedule action for inspections. The agent can only approve or reject. The backend routes POST /api/v1/inspection/schedule and PATCH /api/v1/inspection/:id/complete currently return a "coming soon" message, so there is also no agent action that marks an inspection as completed.

States and edge cases

SituationWhat the user sees
Detail loadingHeader plus a centred spinner
Detail failed, not found, or not your propertyAlert icon, "Couldn't load this request" and a Try again button that refetches
Incoming Requests loadingSpinner with "Loading requests..."
Incoming Requests failed"Failed to load requests" and Try again (refetches both lists)
Incoming Requests empty"No inspection Requests" (the segment name is inserted in lower case) and "Requests that match your current filters will appear here."
Pull to refreshBoth screens support it; Incoming Requests refetches inspections and payment requests together
Missing avatar or property imageIncoming Requests falls back to placeholder images loaded from external URLs
Unknown status valueThe raw status string is shown in a grey badge

Things that look unfinished

The three items below are visible in the code today and are worth knowing when testing or answering support questions.

  • The download icon in the Incoming Requests header has no onPress handler. It does nothing.
  • Tenant notes may not appear under Inquiry or Notes. When a tenant submits a note, the backend currently stores it in cancellationReason on the new inspection, so on the detail screen it shows up in the Cancellation reason row even for requests that were never cancelled.
  • A request that has already moved to scheduled (the tenant paid before the agent reviewed) shows no Approve or Reject buttons on either screen.

What happens next

  • The tenant (the "inspector" on the record) receives an in-app notification with event type inspection_reviewed, titled "Inspection Request Approved" or "Inspection Request Rejected". The rejection body includes the reason. An email with a "View Inspection" button is sent as well.
  • On rejection the backend removes the inspection from the calendar (CalendarService.removeInspection).
  • The Bookings tab summary cards and the dashboard "Pending Requests" stat change on their next refetch, because they count inspections by status.

On this page