OnePath Connect
OnePath Connect
OnePath Connect Documentation
API Reference
API Reference

API Reference

Full reference for all OnePath Connect partner endpoints.

Try it interactively — the API Explorer lets you make live calls against the sandbox with your credentials.

Base URL

Production: https://api.onepath.health
Sandbox:    https://sandbox.onepath.health

Authentication

All requests require two headers:

X-API-Key: onepath_production_<your-api-key>
X-Consent-Assertion: <user-consent-jwt>

See Authentication for details on generating consent tokens.

API Version

OnePath uses date-based versioning. Your integration is pinned to the version active at your BAA signing date. Breaking changes always ship under a new version date with at least 6 months notice.

Current stable version: 2026-07-21 · SDK 1.2.0

Endpoints

Users

MethodPathDescription
POST/partner/v1/users/onboardCreate a new user record
PATCH/partner/v1/users/{id}/health-dataSubmit health observations (FHIR R4)
GET/partner/v1/users/{id}/health-dataRetrieve all health data on file for a user

Intelligence

MethodPathDescription
GET/partner/v1/users/{id}/insightsRetrieve AI-generated health summary
GET/partner/v1/users/{id}/health-scoreRetrieve composite health score and domain breakdown
GET/partner/v1/users/{id}/health-summaryRetrieve raw FHIR health summary with observations and conditions
POST/partner/v1/users/{id}/lab-analysisProcess and extract structured data from a lab document
POST/partner/v1/users/{id}/coaching-chatSend a message to the session-based health coaching AI

Lab Results

MethodPathDescription
GET/partner/v1/users/{id}/lab-resultsList all lab results for a user
GET/partner/v1/users/{id}/lab-results-pageRetrieve a paginated, filterable view of lab results
GET/partner/v1/users/{id}/lab-results/{labId}Retrieve detailed information and AI analysis for a specific lab result

Goals

MethodPathDescription
GET/partner/v1/users/{id}/goalsList active health goals
POST/partner/v1/users/{id}/goalsCreate a new goal
PATCH/partner/v1/users/{id}/goals/{goalId}Update goal progress
PATCH/partner/v1/users/{id}/goals/{goalId}/progressRecord a progress data point for a goal
POST/partner/v1/users/{id}/goals/{goalId}/coaching-chatSend a coaching chat message in the context of a goal

Chat

MethodPathDescription
POST/partner/v1/users/{id}/chatSend a message in a user's general chat session
GET/partner/v1/users/{id}/chat-historyRetrieve message history for a user's chat session. Optional ?sessionId= filters to a single session
GET/partner/v1/users/{id}/chat-sessionsList all chat sessions for a user
POST/partner/v1/users/{id}/resource-chatSend a chat message in the context of a specific resource

Documents

MethodPathDescription
GET/partner/v1/users/{id}/documentsList all documents uploaded for a user
POST/partner/v1/documents/{documentId}/analyzeTrigger AI analysis of an uploaded document
POST/partner/v1/documents/{documentId}/chatSend a chat message in the context of a document

Demographics

MethodPathDescription
GET/partner/v1/users/{id}/demographicsRetrieve demographic and vitals data for a user
PATCH/partner/v1/users/{id}/demographicsUpdate demographic and vitals data for a user

Fitness Plans

MethodPathDescription
GET/partner/v1/users/{id}/fitness-plansList fitness plans for a user
POST/partner/v1/users/{id}/fitness-plansCreate a new fitness plan
PATCH/partner/v1/users/{id}/fitness-plans/{planId}/statusUpdate the status of a fitness plan
POST/partner/v1/users/{id}/fitness-plans/{planId}/coaching-chatSend a coaching chat message in the context of a fitness plan

Product Advisor

MethodPathDescription
POST/partner/v1/users/{id}/product-advisor/chatSend a multi-turn chat message to the product advisor AI
GET/partner/v1/users/{id}/product-advisor/sessionsList all product advisor sessions for a user

Usage

MethodPathDescription
GET/partner/v1/usage/currentRetrieve current month's API usage for your partner account
GET/partner/v1/usage/historyRetrieve historical usage data for your partner account

Medications

Wellvi medication lifecycle: order/refill creation, refill-due polling, progress check-ins, and discontinue. Requires the medications.read/medications.write scopes. See the medication refill lifecycle guide for the end-to-end flow.

MethodPathDescription
POST/partner/v1/users/{id}/medicationsCreate a medication order, or a refill when renewsOrderReference is set
GET/partner/v1/users/{id}/medicationsList a patient's medication orders
GET/partner/v1/medications/refills-dueList medications across your patient population due for a refill soon. Optional ?withinDays= sets the lookahead window (default 5, capped at 30)
POST/partner/v1/users/{id}/medications/{orderId}/progress-checkinsSubmit a progress check-in form for a medication order
GET/partner/v1/users/{id}/medications/{orderId}/progress-checkinsList progress check-ins submitted for a medication order
PATCH/partner/v1/users/{id}/medications/{orderId}/discontinueClose the loop when a refill did not happen

Error Codes

CodeMeaning
401Invalid or expired API key or consent token
403Action not permitted for this partner scope
404User not found
409User already onboarded with this externalId
422Validation error — see details in response body
429Rate limit exceeded — see Retry-After header
5xxOnePath server error — safe to retry with exponential backoff

Rate Limits

EnvironmentLimit
Sandbox1,000 requests/minute
Production100 requests/minute

Rate limit headers are included on every response:

X-RateLimit-Limit: 100
X-RateLimit-Remaining: 87
X-RateLimit-Reset: 1722768000

Going Live

Checklist before your first production deployment.

Webhooks

Receive real-time notifications when OnePath events occur.

On this page

Base URLAuthenticationAPI VersionEndpointsUsersIntelligenceLab ResultsGoalsChatDocumentsDemographicsFitness PlansProduct AdvisorUsageMedicationsError CodesRate Limits