About this reference
This API Reference covers endpoints for 3rd party integrations - everything you need to manage users, connect wearable providers, and retrieve health data. Internal endpoints (dashboard management, team settings, webhook receivers) are not listed here. For the full API including internal endpoints, use Swagger UI.Swagger UI (full API)
Interactive API explorer with all endpoints, including internal
OpenAPI JSON
Machine-readable OpenAPI 3.1 specification
Overview
The Open Wearables API provides a unified REST interface to access health data from multiple wearable devices and fitness platforms. All endpoints are versioned under/api/v1 and follow RESTful conventions.
Base URL
When running locally:Quick Reference
Authentication
All API endpoints require authentication using API keys. Include your API key in theX-Open-Wearables-API-Key header:
Getting an API Key
- Access the Open Wearables Platform at
http://localhost:3000 - Log in
- Navigate to the API Keys section in the Settings tab
- Generate a new API key
- Copy and securely store the key
Response Formats
The API uses different response formats depending on the endpoint type:Resource Lists (Users)
Data Endpoints (Timeseries, Workouts, Sleep)
Error Response
HTTP Status Codes
200 OK- Request succeeded201 Created- Resource created successfully204 No Content- Request succeeded, no content to return400 Bad Request- Invalid request parameters401 Unauthorized- Authentication required or invalid404 Not Found- Resource not found500 Internal Server Error- Server error
Pagination
The API uses two pagination styles depending on the endpoint:Offset Pagination (Users)
Cursor Pagination (Timeseries, Workouts, Sleep)
Use the
next_cursor from the response to fetch the next page.
Date & Time Parameters
Endpoints that accept date range parameters (start_date, end_date, start_time, end_time) support the following input formats:
When a date-only value (e.g.
2023-11-07) is provided as an end date, it is treated as midnight UTC at the start of that day. Depending on the endpoint, this may be extended to include the full day — use an explicit time component (e.g. 2023-11-07T23:59:59Z) to avoid ambiguity.Filtering & Sorting
Many endpoints support filtering and sorting. Check individual endpoint documentation for available options.OpenAPI Specification
The complete OpenAPI specification is available at:- Swagger UI:
https://api.openwearables.io/docs - OpenAPI JSON:
https://api.openwearables.io/openapi.json

