Client SDK
Four patient-facing widgets, one script tag each.
Booking, the patient portal, enquiries and package sales, each a self-contained browser bundle from widgets.medos.one. No npm install, no build step, themed to the website you already have.
The SDKs
- Booking SDK
- window.MedosBooking · /v2/unified.js
- The full appointment journey: practitioner, visit type, slot or queue token, OTP and payment. The widget reads each practitioner’s setup and shows scheduled slots or a live queue on its own.
- Patient portal SDK
- window.MedosPatientPortal · /v2/portal.js
- Returning patients manage their own appointments, family members and session credits on your website.
- Enquiry SDK
- window.MedosEnquiry · /v2/enquiries.js
- A contact form that files the enquiry against your workspace, so the follow-up call starts with context.
- Package purchase SDK
- window.MedosPackagePurchase · /v2/packages.js
- Sell a multi-session package on its own page; sessions are drawn down visit by visit afterwards.
The whole install
Booking on your site in the time it takes to paste this.
<script src="https://widgets.medos.one/v2/unified.js"></script>
<div id="medos-booking"></div>
<script>
MedosBooking.init({
apiKey: "mk_your_publishable_key",
mode: "inline", // or "modal" to open over the page
containerId: "medos-booking",
onSuccess: (data) => console.log("Booked", data),
});
</script>What every widget shares
- One publishable key
- The same mk_ key works across all four widgets. It is public by design and locked to your website’s domain.
- Your brand
- Theme, primary and secondary colours, border radius, font family and size are shared options on every widget.
- Inline or modal
- Mount into a container on the page, or open over it from your own button.
- Callbacks
- onSuccess and onError tell your page what happened, for your own confirmation screen or analytics.
Install guides cover Vanilla HTML, React, Next.js, Vue, Angular, Svelte, Gatsby, PHP, Laravel.
What the widgets connect to
- Online booking
A patient books from your website, a shared link or a QR at the door. The booking lands in the upcoming column of the board with nothing re-typed at the desk.
Read more - Session packs
Rehab, therapy and wellness happen over a course of visits, not one appointment. MedOS treats the programme as the unit.
Read more - Queue management
Each doctor’s OPD runs as a shift with a live queue. The desk sees who is consulting, who is next and how many are left; patients follow the same queue from a link.
Read more - Integrations
Reminders go out from your own WhatsApp number, appointments land in Google Calendar, video links come from Meet or Zoom, and payments go to your own account.
Read more