Lab tests
Children are welcome, and our paediatric team knows how to make them smile. Friendly reminders make sure you never miss a check-up or a dose.
Overview
Thousands of patients already trust us, and we work hard to keep it that way. Same-day appointments are available for urgent needs on weekdays. We keep things simple, so you can focus on what matters to you. Family plans cover check-ups and vaccinations for everyone under one roof.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @glowix-studio/sdk$ yarn add @glowix-studio/sdk$ pnpm add @glowix-studio/sdkConfiguration
Video consultations let you speak with a doctor from the comfort of home. Modern equipment means faster diagnoses and more comfortable treatment. Create a file named glowix-studio.config.json in the project root:
{
"project": "glowix-studio",
"region": "eu-west",
"categories": ["cardiology", "dental", "pediatrics"],
"retries": 4,
"timeoutMs": 8000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your patients. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
We work with most insurance providers and explain any costs upfront.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@glowix-studio/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest services in one category
const page = await client.services.list({ category: "cardiology", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/servicesList services with paging and filters./v1/servicesCreate a new service./v1/services/{id}Update some fields of a service./v1/services/{id}Archive a service; it can be restored for 30 days.{
"data": [
{ "id": "service_9637", "name": "Dental cleaning", "price": 354 }
],
"has_more": true
}Troubleshooting
Next steps
We listen first, then build a plan around what you actually need.