API Reference
Comprehensive documentation for all Healix API endpoints
REST API Endpoints
Authentication
Endpoints for authenticating with the Healix API
POST
/v1/auth/token
Generate an access token
POST
/v1/auth/refresh
Refresh an access token
POST
/v1/auth/revoke
Revoke an access token
Users
Endpoints for managing users and their data
GET
/v1/users
List all users
GET
/v1/users/:id
Get a specific user
POST
/v1/users
Create a new user
PUT
/v1/users/:id
Update a user
DELETE
/v1/users/:id
Delete a user
Devices
Endpoints for managing device connections
GET
/v1/devices
List all supported devices
GET
/v1/users/:id/devices
List a user's connected devices
POST
/v1/devices/authorize
Generate device authorization URL
POST
/v1/devices/callback
Handle device authorization callback
DELETE
/v1/users/:id/devices/:device_id
Disconnect a device
Health Data
Endpoints for retrieving and analyzing health data
GET
/v1/users/:id/health-data
Get user's health data
GET
/v1/users/:id/health-data/:type
Get specific health data type
POST
/v1/users/:id/health-data/analyze
Analyze user's health data
GET
/v1/users/:id/health-data/summary
Get health data summary
AI Platform
Endpoints for the Healix AI Platform
POST
/v1/ai/analyze
Analyze health data with AI
POST
/v1/ai/predict
Generate health predictions
POST
/v1/ai/recommend
Get AI-powered recommendations
POST
/v1/ai/chat
Interact with the Healix AI assistant