Developer Documentation
Everything you need to integrate with the Healix platform
Quick Start Guide
1. Create an account
Sign up for a HealthBridge account to get your API keys and access the developer sandbox.
2. Install the SDK
Choose your preferred language and install our SDK.
npm install @healix/sdk3. Initialize the client
Initialize the HealthBridge client with your API key.
import { Healix } from '@healix/sdk';
const client = new Healix({
apiKey: 'YOUR_API_KEY',
environment: 'production'
});4. Connect a device
Generate an authorization URL for a user to connect their device.
// Generate an authorization URL
const authUrl = await client.devices.getAuthorizationUrl({
provider: 'fitbit',
redirectUri: 'https://your-app.com/callback'
});
// Redirect the user to authUrl to authorize your app
// Handle the callback
app.get('/callback', async (req, res) => {
const { code } = req.query;
// Exchange the code for an access token
const user = await client.devices.completeAuthorization({
code,
redirectUri: 'https://your-app.com/callback'
});
// User is now connected
console.log('Connected user:', user.id);
});5. Fetch health data
Retrieve health data for a connected user.
// Fetch activity data
const activityData = await client.users.getHealthData({
userId: 'user_123',
dataType: 'activity',
startDate: '2023-01-01',
endDate: '2023-01-31'
});
console.log('Activity data:', activityData);
// Fetch heart rate data
const heartRateData = await client.users.getHealthData({
userId: 'user_123',
dataType: 'heartRate',
startDate: '2023-01-01',
endDate: '2023-01-31'
});
console.log('Heart rate data:', heartRateData);API Reference
Comprehensive documentation for all HealthBridge API endpoints.
SDKs & Libraries
Official client libraries for popular programming languages.

JavaScript
For Node.js and browser applications

Python
For Python applications and data science

Java
For Android and server applications

Swift
For iOS and macOS applications

Ruby
For Ruby and Rails applications

Go
For Go applications
Community Libraries
Libraries and integrations built by our community.
Example Applications
Learn from example applications built with HealthBridge.

Patient Dashboard
A React application that displays patient health data from multiple sources.
Fitness Tracker
A mobile app that tracks fitness activities and provides insights.

Clinical Research Portal
A platform for collecting and analyzing health data for clinical research.

Telehealth Integration
A telehealth application that integrates with patient health data.
Resources
Additional resources to help you build with HealthBridge.
Guides
Step-by-step guides for common integration scenarios.
Tutorials
Detailed tutorials for building specific applications.
Code Samples
Snippets and examples for specific use cases.
Downloads
SDKs, tools, and other downloadable resources.
API Status
Check the current status of the HealthBridge API.
Changelog
Latest updates and changes to the HealthBridge platform.
Need Help?
Our support team is ready to help you with any questions or issues you may have.