Skip to main content
A lab works with three kinds of referral partners, each set up in the lab software and kept per branch:
  • Corporates — companies, insurers and TPAs whose employees or members the lab serves.
  • Referral doctors — doctors who send patients to the lab.
  • Referral hospitals — hospitals and clinics that send patients to the lab.
These endpoints return each list with the partner’s _id and name, so you can attach the right partner to a lead or booking, get that partner’s negotiated prices, and (on a party-scoped account) route webhooks per partner.

List Corporates

GET /client/crm/corporates

List Referral Doctors

GET /client/crm/doctors

List Referral Hospitals

GET /client/crm/hospitals

Where each ID goes

On create you can attach a corporate, a doctor and a hospital together. On tests, packages and webhook calls, pass one partner: corporateUser or organization.

Rules to know

  • Branch scope — every call needs a branchID from List Branches. Each branch has its own partners, so an ID from one branch is refused (404) on another.
  • Active only — partners the lab marked inactive are not listed, and are refused if you send their ID. Temporary doctor and hospital entries are not listed either.
  • Long lists — a large lab can have a few thousand referral doctors. Fetch the list once, keep it, and search it on your side instead of calling per keystroke.