Home / Platform / Developers

Build on the same contracts we do

The API is not a export hatch bolted onto the side. It is the same contract layer the product itself is built on — which is why it is complete, versioned, and does not lag the interface.

Surface

What you can build against

REST API

Versioned, documented, generated

Every route under /api/v1 with a standard error envelope, correlation IDs, cursor pagination and idempotency keys on mutating operations. OpenAPI generated from code, so it cannot drift from reality.

OpenAPI generated · CI fails on undocumented endpoints
Typed SDK

Generated from the spec

A TypeScript SDK generated from the same OpenAPI document, versioned alongside the API.

types that match the server, by construction
Event catalog

Subscribe to anything that happens

A typed registry of every domain event — name, version, payload schema, owning module — exposed as HMAC-signed webhooks with a full delivery log.

at-least-once · signed · replayable delivery log
FHIR R4

Standards-based clinical access

Patient, Encounter, Condition, Observation, MedicationRequest and more, over a standard FHIR R4 read and search API.

plus HL7 v2 ADT for legacy integration
Extension points

Documented, not discovered

Modules declare their extension points explicitly. You build against a published contract rather than reverse-engineering internals.

additive by default · breaking changes version-bumped
Idempotency

Safe retries on money and care

Payments, billing, admissions, orders, claims and booking all require idempotency keys, so a retry cannot double-charge or double-admit.

enforced by middleware, not by convention

Full API documentation, the event catalog and the SDK are published as the corresponding modules complete — see the phase plan for where each sits. We would rather publish documentation that matches shipped behaviour than a specification that gets corrected later.

Integration

Connectors, not projects

Each connector declares its own configuration schema, so onboarding one is a configuration exercise rather than an engineering programme.

FHIR R4HL7 v2 ADTABDM · ABHADICOM / PACS LIS / RISAnalysersERP & accountingHRMS Payment gatewaysWhatsApp / SMS / emailGovernment portals Medical devices & IoTSigned webhooksOAuth-style client registry Scoped API tokens

Next step

See your hospital running on Ospia

An executive demonstration takes forty-five minutes. We seed a hospital with synthetic data shaped like yours, put the digital workforce on duty, and answer the hard questions with the architecture open.

Book your hospital simulation Architecture deep-dive

synthetic data · zero real patients
self-hosted or managed cloud
one database per hospital