Integrations
Platform APIs do not support browser Javascript initiated calls that required specific CORS (Cross-origin resource sharing) domains to be allow listed, we recommend a BFF pattern in place of direct client interaction with platform APIs
Integrations are platform controlled connectivity to 3rd party services for the purposes of health data collation. A platform integration allows a user to provide consent for the platform to retrieve specific health data measurements from a 3rd party service such as Fitbit.
We currently support user controlled platform integration with FitBit, once connected Fitbit health data related to heart rate, step count and sleep will be retrieved and stored within their Lenus Health account and will be able to query using our data APIS.
An individual user can manage and review their integrations via the “Connections” navigation item within the identity service:
Integrations API
The available integration APIs focus on providing supporting information to a service based on the authenticated user, as such these APIs would be utilised by a patient focused client application in which the authenticated user is the patient. By calling the integration APIs the application can assert whether the user has an active integration to a given 3rd party and provide a redirect trigger to assist the user to connect if desired.
The API specification is available here.