Skip to content

Olly Platform — Screen-to-API Mapping

This document maps every screen in the Olly member app (43 screens) and the SME quoting site to the corresponding backend API call. Screens with no current API are marked GAP.

Last updated: 2026-03-20 | Phase 1 complete | Phase 2 complete


SME / Employer Journey (Broker-driven)

Screen / StepServiceMethodPathNotes
Create employer partypolicy-adminPOST/partiesType: ORGANISATION
Create accountpolicy-adminPOST/accountsBillingLevel: ACCOUNT
List productspolicy-adminGET/products/listFind published product version
List product versionspolicy-adminGET/products/{loc}/versions/listGet version UUID
Create quotebroker-apiPOST/quotesRequires published productVersionId
Price quotebroker-apiPATCH/quotes/{locator}/priceDRAFT → PRICED
Underwrite quotebroker-apiPATCH/quotes/{locator}/underwritePRICED → UNDERWRITTEN
Issue quote (bind policy)broker-apiPATCH/quotes/{locator}/issueUNDERWRITTEN → ACCEPTED; returns policy (201)
Refuse quotebroker-apiPATCH/quotes/{locator}/refuseAny pre-accepted state → DECLINED
Discard quoteenrollmentPATCH/quotes/{locator}/discardDRAFT only → DISCARDED
Cancel policyenrollmentPATCH/policies/{locator}/cancelACTIVE → CANCELLED

Member Journey (B2C — Lovable member app)

P1 — Onboarding & Triage (Phase 1 complete)

ScreenServiceMethodPathNotes
Profile selection (name, DOB, gender)policy-adminPOST/partiesType: INDIVIDUAL
Profile lookup / account screenpolicy-adminGET/parties/{locator}
Policy listenrollmentGET/policies/listFilter by accountId
Ask Olly — start sessiontriagePOST/sessionsparty_locator, chief_complaint, consent_verified (snake_case)
Ask Olly — respond to questiontriagePOST/sessions/{locator}/respondanswer field
Get session statetriageGET/sessions/{locator}
Abandon triagetriagePATCH/sessions/{locator}/abandon

P2 — Care Continuation & Financial (Phase 2 complete)

ScreenServiceMethodPathNotes
Booking — find GP/physioproviderGET/providersQuery: specialty, network_status
Booking — provider detailproviderGET/providers/{locator}
Appointments calendarproviderGET/providersBooking sub-resource TBD
Episode create (prior auth)claimsPOST/prior-authproviderId, policyId, memberPartyId, procedureCode (UUIDs + string)
Prior auth detailclaimsGET/prior-auth/{locator}Initial status: SUBMITTED (not PENDING)
Episode create (claim)claimsPOST/claimspolicyLocator, memberLocator, claimantPartyId, incidentDate, document
Episode statusclaimsGET/claims/{locator}
Claim historyclaimsGET/claimsQuery: status, memberPartyId
Plan utilisation — chargesbillingGET/charges/list
Plan utilisation — invoicesbillingGET/invoices/list
Invoice detailbillingGET/invoices/{locator}
Plan utilisation — ledgerbillingGET/ledger/list
Plan utilisation — EOBbillingGET/eob/{claimLocator}404 if no claims
Notification preferencesnotificationsGET/preferences/{partyLocator}
Update notification prefsnotificationsPUT/preferences/{partyLocator}email, sms, push, claimsUpdates, billingAlerts, enrollmentReminders
Notification feednotificationsGET/notifications/list
Notification audit lognotificationsGET/log/list
Account / consent datapolicy-adminGET/consent/{partyLocator}
Update consentpolicy-adminPUT/consent/{partyLocator}

P3 — Gaps (No API Yet)

ScreenGap
Onboarding Container (14 sub-screens: health snapshot, activity/sleep, behavioral profile, etc.)No backend persistence — all captured client-side in onboardingStore
Mindfulness Programme (sequential meditation sessions)No wellness/content API
Wellness Library (~100 videos)No content delivery API
Programme Detail (health-goal, recovery, follow-up types)No programme/care-plan API
All Programmes browserNo programme API
Blood Test Tracker (booking + results)No lab results API
Video Consultation (simulated physio assessment)No video/telehealth API
Pharmacist Chat (typed advice)No async messaging API
Physio Message (personalized update)No provider messaging API
My Rewards (discount offers by category)No gamification/rewards API
Skin Monitor (photo-based monitoring)No dermatology pathway API
Home Dashboard health metricsNo aggregation API
Recovery Journey Page (session progress)No clinical care plan API
Prevention Journey Page (weekly content)No prevention plan API
Completion ScreenNo event/achievement API
Safety NettingTriage outcome only — no separate API
Disposition: Emergency 999Triage outcome only
Disposition: Emergency A&ETriage outcome only
Disposition: Self-CareTriage outcome only
Disposition: Mental Health CrisisTriage outcome only
Disposition: Mental Health SupportTriage outcome only
Disposition: Dermatology ReferralTriage outcome only
GP Selection (legacy)No booking API
Assessment Detail (legacy)No API
Prescription Fulfillment FlowNo prescription fulfillment API
Provider Report ViewNo provider report API

Olly Health Insurance Platform