VitaWell API & Integrations

Connect your systems to VitaWell's comprehensive health & wellness platform. Access health programs, nutrition data, wellness metrics, and real-time patient insights through our RESTful API.

JavaScript // Create a new wellness client
const client = await vitawell.createClient({   api_key: 'vwl_live_sk_...',   environment: 'production' });

// Fetch health program
const program = await client.programs   .list({ type: 'nutrition' });
๐Ÿ“ก
โ†‘ 12%

847

Active Integrations

โšก
โ†‘ 5%

2.1ms

Avg Response Time

๐Ÿ”—
Stable

99.98%

Uptime (30 days)

๐Ÿ“ˆ
โ†‘ 23%

2.4M

API Calls (Today)

๐Ÿ“‹ API Endpoints

GET /v2/health-programs List all available health and wellness programs v2.4

Query Parameters

Parameter Type Status Description
type string Optional Filter by program type: nutrition, fitness, mindfulness, sleep
category string Optional Category: holistic, preventive, therapeutic
limit integer Optional Number of results (default: 20, max: 100)

Response (200 OK)

{ "data": [ { "id": "prog_2xk9m4p", "name": "Holistic Nutrition Reset", "type": "nutrition", "duration_weeks": 12, "status": "active" } ], "pagination": { "total": 48, "page": 1 } }
POST /v2/clients Register a new wellness client v2.4

Request Body

Parameter Type Status Description
full_name string Required Client's full legal name
email string Required Valid email address
dob date Required Date of birth (YYYY-MM-DD)
health_goals array Optional Array of wellness goal IDs
POST /v2/health-metrics Submit health metric data for a client v2.3

Request Body

Parameter Type Status Description
client_id string Required VitaWell client identifier
metrics object Required Key-value pairs of health measurements
source string Optional Data source: wearable, manual, lab
PUT /v2/appointments/:id Update or reschedule an appointment v2.2

Response Codes

200 OK 401 Unauthorized 404 Not Found
GET /v2/nutrition-plans/:client_id Retrieve personalized nutrition plan v2.4

Response

{ "meal_plans": [ { "day": "monday", "meals": [ { "type": "breakfast", "items": ["quinoa bowl", "green smoothie"], "calories": 450 } ] } ] }
DELETE /v2/subscriptions/:id Cancel a client's wellness subscription v2.1

Response Codes

200 Cancelled 401 Unauthorized
PATCH /v2/clients/:id/wellness-goals Update client wellness goals v2.4

Request Body

Parameter Type Status Description
goals array Required Updated wellness goal objects
priority string Optional Goal priority: high, medium, low

๐Ÿ”Œ Integration Guides

๐Ÿ”

Authentication Setup

Learn how to authenticate with the VitaWell API using API keys, OAuth 2.0, and service-to-service tokens.

โฑ 5 min read ๐Ÿ“„ 3 steps
๐Ÿฅ

EHR Integration (FHIR)

Integrate with Electronic Health Records using FHIR R4 standards. Sync patient data bidirectionally.

โฑ 12 min read ๐Ÿ“„ 8 steps
๐Ÿ“ฑ

Wearable Devices Sync

Connect Apple Watch, Fitbit, Oura Ring, and Garmin data to VitaWell health dashboards automatically.

โฑ 8 min read ๐Ÿ“„ 5 steps
๐Ÿช

Webhook Configuration

Set up real-time event notifications for client enrollment, metric updates, and program completions.

โฑ 6 min read ๐Ÿ“„ 4 steps
๐Ÿ’ณ

Payment Integration

Integrate billing, subscription management, and insurance claim processing via our payments API.

โฑ 10 min read ๐Ÿ“„ 6 steps
๐Ÿค–

AI Wellness Insights

Use our AI endpoints to generate personalized health insights, risk scores, and program recommendations.

โฑ 7 min read ๐Ÿ“„ 5 steps

๐Ÿช Webhook Events

Receive real-time notifications when events occur in your VitaWell account. Configure endpoint URLs and subscribe to events.

๐Ÿ‘ค
client.created
New wellness client registered
๐Ÿ“Š
metrics.updated
Health metrics data submitted
โœ…
program.completed
Wellness program milestone reached
๐Ÿ“…
appointment.scheduled
New appointment booked
๐Ÿ’ณ
payment.received
Subscription payment processed
โš ๏ธ
health.alert
AI-generated health alert triggered
// Webhook signature verification const sig = crypto.createHmac('sha256', webhookSecret) .update(rawBody).digest('hex'); if (sig === req.headers['x-vitawell-signature']) { console.log('โœ… Webhook verified'); }

๐Ÿ“ฆ SDK Installation

Get started quickly with official SDKs. Install the package that matches your tech stack.

Node.js

JavaScript / TypeScript

npm install @vitawell/sdk-js
Python

Python 3.8+

pip install vitawell-python
Ruby

Ruby 2.7+

gem install vitawell-ruby

โšก Rate Limits & Tiers

API access is structured in tiers to ensure reliability. Upgrade anytime based on your integration needs.

Developer

Free
  • โœ“ 100 requests / minute
  • โœ“ 10,000 requests / day
  • โœ“ Sandbox access
  • โœ“ Community support
  • โœ“ 1 API key

Enterprise

Custom
  • โœ“ Unlimited requests
  • โœ“ Dedicated infrastructure
  • โœ“ SLA guarantee (99.99%)
  • โœ“ Dedicated account manager
  • โœ“ Unlimited API keys
  • โœ“ Custom integrations