Download OpenAPI specification:Download
ROOK is a set of services that simplifies the collection, processing, and delivering of Users' HealthData from various data sources.
You can use the following constants to test the API and receive default responses:
Fetches user information for the given user ID and date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId"
}, - "data_structure": "user_info",
- "user_information": {
- "user_body_metrics": {
- "height_cm_int": 0,
- "weight_kg_float": 0.1,
- "bmi_float": 0.1
}, - "user_demographics": {
- "sex_string": "female",
- "gender_string": "string",
- "date_of_birth_string": "string",
- "country_string": "string",
- "state_string": "string",
- "city_string": "string",
- "ethnicity_string": "string",
- "income_string": "string",
- "marital_status_string": "string",
- "time_zone_string": "string",
- "education_string": "string"
}
}
}Receives and updates the user's time zone information.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
body
| time_zone | string Continent/City Specifies the user's time zone in the 'Continent/City' format, following the IANA Time Zone Database naming convention. This format ensures global standardization and prevents ambiguity. |
| offset | string +|- HH:MM Represents the difference in hours and minutes between the specified time zone and Coordinated Universal Time (UTC).
This offset allows precise time conversion across different regions.
This offset should align with the standard time difference of the provided |
{- "time_zone": "America/Los_Angeles",
- "offset": "-08:00"
}{- "message": "Time zone and offset successfully updated for the user."
}User information receives and processes user information from users
body
| datetime | string <date-time> (datetime_iso8601) Date and time in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.sssZ). |
| user_id | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ |
| date_of_birth_string | string <date> |
| height_cm_int | integer |
| weight_kg_float | number <float> |
| bmi_float | number <float> |
| sex_string | string or null (schema_sex_string) Enum: "female" "male" The biological sex assigned at birth. Used by some devices for physiological calculations (e.g. heart rate zones, calorie estimation). |
{- "datetime": "2023-12-29T21:07:14.402999Z",
- "user_id": "demoUserId",
- "date_of_birth_string": "2024-04-21",
- "height_cm_int": 0,
- "weight_kg_float": 0.1,
- "bmi_float": 0.1,
- "sex_string": "female"
}{- "message": "added"
}Revokes user authorization for the specified data source.
NOTE: Withings revocation is delayed until overnight due to their internal process, not controlled by ROOK.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
body
| data_source | string Must be one of Garmin, Oura, Apple Health, Health Connect, Android, Polar, Fitbit, Withings, Whoop. |
{- "data_source": "Polar"
}{- "message": "Authorization for the specified user data source has been successfully revoked"
}Endpoint to resend rejected notifications
body
| start | string <date> |
| finish | string <date> |
{- "start": "2024-04-20",
- "finish": "2024-04-21"
}{- "message": "Success",
- "total_docs_to_resend": 29
}This endpoint allows clients to check the authorization status of their users across various data sources on a specific date. It provides the total number of users, their activity status, and detailed authorization information.
| up_to_date required | string <date> ^d{4}-d{2}-d{2}$ Example: up_to_date=2025-01-15 Date in YYYY-MM-DD format that defines the limit for the endpoint data. It cannot be in the future and must be no more than 6 months prior to the current date. |
| page | integer <int32> Example: page=1 Specifies the page number to retrieve in a paginated response. If not provided, defaults to page 1. |
{- "up_to_date": "2025-01-25",
- "total_created_users": 2500,
- "total_active_users": 359,
- "users": [
- {
- "user_id": "demoUserId",
- "active": true,
- "user_creation_date": "2025-01-25T12:00:00Z",
- "data_sources": [
- {
- "source_name": "Fitbit",
- "authorization_date": "2025-01-25T12:00:00Z"
}
]
}
], - "pagination": {
- "total": 2500,
- "total_pages": 5,
- "page": 2,
- "users_per_page": 500,
- "links": {
- "prev_url": "/api/v1/client/users/status?page=1&up_to_date=2025-01-25",
- "current_url": "/api/v1/client/users/status?page=2&up_to_date=2025-01-25",
- "next_url": "/api/v1/client/users/status?page=3&up_to_date=2025-01-25"
}
}
}Returns the stored threshold configuration for the Health Monitoring
System (HMS), for either the client's general rule or one user's
specific rule. The optional user_id query parameter selects which
of the two scopes is returned.
This returns exactly what is stored, not the resolved effective threshold per signal — precedence resolution (specific rule > general rule > ROOK default) is applied by the monitoring engine, not by this endpoint.
hrv.deviation_above_percent and oxygenation.threshold_max_percent
may be null in the response — that means "no upper bound", matching
how the monitoring engine represents its own ROOK defaults for those
two signals.
Requires the health_monitoring feature to be enabled for the
client; otherwise the call is refused with a 403.
| user_id | string <= 100 characters Example: user_id=demoUserId Client-side identifier of the user whose specific rule is requested. At most 100 characters; no character-set restriction is enforced (this endpoint does not use the generic user_id format applied elsewhere in this API). Omitted: returns the client's general rule, which applies to every
user without a specific override. Present: returns the specific
rule for that |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "resting_heart_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "hrv": {
- "deviation_below_percent": 30,
- "deviation_above_percent": null
}, - "resting_breathing_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "oxygenation": {
- "threshold_min_percent": 92,
- "threshold_max_percent": null
}, - "sleep_duration": {
- "threshold_min_seconds": 21600,
- "threshold_max_seconds": 32400
}
}Creates or fully replaces the threshold configuration for one scope:
the client's general rule, or one user's specific rule. user_id is
optional/nullable in the body, and selects which of the two scopes
is written.
The body groups thresholds by signal: resting_heart_rate, hrv,
resting_breathing_rate, oxygenation, and sleep_duration. All 5
signal objects are required, and every subfield inside each one is
required with a numeric value within its signal's plausible range —
this endpoint always writes a complete rule, it never partially
clears one — except hrv.deviation_above_percent and
oxygenation.threshold_max_percent, which may be explicit null to
mean "no upper bound" (matching how the monitoring engine represents
its own ROOK defaults for those two signals). For oxygenation and
sleep_duration, the minimum subfield may not exceed the maximum
(skipped when the maximum is that null "no upper bound").
Requires the health_monitoring feature to be enabled for the
client; otherwise the call is refused with a 403.
body
required | object (schema_health_monitoring_deviation_signal) Baseline + % deviation signal (resting_heart_rate, resting_breathing_rate). Both subfields are a percentage of deviation from baseline, 0.0-100.0. |
required | object (schema_health_monitoring_hrv_signal) Baseline + % deviation signal for hrv. Unlike resting_heart_rate/resting_breathing_rate, deviation_above_percent may be explicit null. |
required | object (schema_health_monitoring_deviation_signal) Baseline + % deviation signal (resting_heart_rate, resting_breathing_rate). Both subfields are a percentage of deviation from baseline, 0.0-100.0. |
required | object (schema_health_monitoring_range_signal_percent) Fixed-range signal measured in percent (oxygenation), 0.0-100.0. threshold_max_percent may be explicit null ("no upper bound" — ROOK's own default for this signal has none either). |
required | object (schema_health_monitoring_range_signal_seconds) Fixed-range signal measured in seconds (sleep_duration), 0-86400 (one day). |
| user_id | string or null <= 100 characters Client-side identifier of the user whose specific rule is written. At most 100 characters; no character-set restriction is enforced (this endpoint does not use the generic user_id format applied elsewhere in this API). Omitted or null: writes the client's general rule. Present:
writes (or fully replaces) the specific rule for that
|
{- "user_id": "demoUserId",
- "resting_heart_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "hrv": {
- "deviation_below_percent": 30,
- "deviation_above_percent": null
}, - "resting_breathing_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "oxygenation": {
- "threshold_min_percent": 92,
- "threshold_max_percent": null
}, - "sleep_duration": {
- "threshold_min_seconds": 21600,
- "threshold_max_seconds": 32400
}
}{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "resting_heart_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "hrv": {
- "deviation_below_percent": 30,
- "deviation_above_percent": null
}, - "resting_breathing_rate": {
- "deviation_below_percent": 15,
- "deviation_above_percent": 10
}, - "oxygenation": {
- "threshold_min_percent": 92,
- "threshold_max_percent": null
}, - "sleep_duration": {
- "threshold_min_seconds": 21600,
- "threshold_max_seconds": 32400
}
}Fetches a summary of the user's physical health data for a specified date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "data_structure": "physical_summary",
- "physical_health": {
- "summary": {
- "physical_summary": {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId"
}, - "activity": {
- "active_seconds_int": 0,
- "continuous_inactive_periods_int": 0,
- "inactivity_seconds_int": 0,
- "low_intensity_seconds_int": 0,
- "moderate_intensity_seconds_int": 0,
- "rest_seconds_int": 0,
- "vigorous_intensity_seconds_int": 0,
- "activity_level_granular_data_array": [
- {
- "activity_level_float": 0.1,
- "activity_level_label_string": "string",
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "calories": {
- "calories_basal_metabolic_rate_kcal_float": 0.1,
- "calories_expenditure_kcal_float": 0.1,
- "calories_net_active_kcal_float": 0.1,
- "calories_net_intake_kcal_float": 0.1
}, - "distance": {
- "steps_int": 0,
- "active_steps_int": 0,
- "floors_climbed_float": 0.1,
- "elevation_avg_altitude_meters_float": 0.1,
- "elevation_minimum_altitude_meters_float": 0.1,
- "elevation_maximum_altitude_meters_float": 0.1,
- "elevation_gain_actual_altitude_meters_float": 0.1,
- "elevation_loss_actual_altitude_meters_float": 0.1,
- "elevation_planned_gain_meters_float": 0.1,
- "swimming_num_strokes_float": 0.1,
- "swimming_num_laps_int": 0,
- "swimming_pool_length_meters_float": 0.1,
- "swimming_total_distance_meters_float": 0.1,
- "traveled_distance_meters_float": 0.1,
- "walked_distance_meters_float": 0.1,
- "steps_granular_data_array": [
- {
- "steps_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "active_steps_granular_data_array": [
- {
- "active_steps_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "floors_climbed_granular_data_array": [
- {
- "floors_climbed_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "elevation_granular_data_array": [
- {
- "elevation_change_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "swimming_distance_granular_data_array": [
- {
- "swimming_distance_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "traveled_distance_granular_data_array": [
- {
- "traveled_distance_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "heart_rate": {
- "hr_avg_bpm_int": 0,
- "hr_maximum_bpm_int": 0,
- "hr_minimum_bpm_int": 0,
- "hr_resting_bpm_int": 0,
- "hrv_avg_rmssd_float": 0.1,
- "hrv_avg_sdnn_float": 0.1,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "oxygenation": {
- "saturation_avg_percentage_int": 0,
- "vo2max_mL_per_min_per_kg_int": 0,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "vo2_granular_data_array": [
- {
- "vo2_mL_per_min_per_kg_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "stress": {
- "high_stress_duration_seconds_int": 0,
- "low_stress_duration_seconds_int": 0,
- "medium_stress_duration_seconds_int": 0,
- "stress_at_rest_duration_seconds_int": 0,
- "stress_avg_level_int": 0,
- "stress_duration_seconds_int": 0,
- "stress_maximum_level_int": 0,
- "stress_granular_data_array": [
- {
- "stress_score_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
}
}
}Retrieves activity event data for the specified user over a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "activity_event",
- "physical_health": {
- "events": {
- "activity_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "activity": {
- "active_seconds_int": 0,
- "activity_duration_seconds_int": 0,
- "activity_end_datetime_string": "2023-12-29T21:07:14.402999Z",
- "activity_energy_kilojoules_float": 0.1,
- "activity_energy_planned_kilojoules_float": 0.1,
- "activity_level_granular_data_array": [
- {
- "activity_level_float": 0.1,
- "activity_level_label_string": "string",
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "activity_start_datetime_string": "2023-12-29T21:07:14.402999Z",
- "activity_strain_level_float": 0.1,
- "activity_type_name_string": "Running",
- "activity_work_kilojoules_float": 0.1,
- "continuous_inactive_periods_int": 0,
- "inactivity_seconds_int": 0,
- "low_intensity_seconds_int": 0,
- "moderate_intensity_seconds_int": 0,
- "rest_seconds_int": 0,
- "vigorous_intensity_seconds_int": 0
}, - "calories": {
- "calories_basal_metabolic_rate_kcal_float": 0.1,
- "calories_expenditure_kcal_float": 0.1,
- "calories_net_active_kcal_float": 0.1,
- "calories_net_intake_kcal_float": 0.1,
- "carbohydrate_percentage_of_calories_int": 0,
- "fat_percentage_of_calories_int": 0,
- "protein_percentage_of_calories_int": 0
}, - "distance": {
- "elevation_avg_altitude_meters_float": 0.1,
- "elevation_gain_actual_altitude_meters_float": 0.1,
- "elevation_granular_data_array": [
- {
- "elevation_change_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "elevation_loss_actual_altitude_meters_float": 0.1,
- "elevation_maximum_altitude_meters_float": 0.1,
- "elevation_minimum_altitude_meters_float": 0.1,
- "elevation_planned_gain_meters_float": 0.1,
- "floors_climbed_float": 0.1,
- "floors_climbed_granular_data_array": [
- {
- "floors_climbed_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "steps_int": 0,
- "steps_granular_data_array": [
- {
- "steps_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "swimming_num_laps_int": 0,
- "swimming_distance_granular_data_array": [
- {
- "swimming_distance_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "swimming_num_strokes_float": 0.1,
- "swimming_pool_length_meters_float": 0.1,
- "swimming_total_distance_meters_float": 0.1,
- "traveled_distance_meters_float": 0.1,
- "traveled_distance_granular_data_array": [
- {
- "traveled_distance_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "walked_distance_meters_float": 0.1
}, - "heart_rate": {
- "hr_avg_bpm_int": 0,
- "hr_maximum_bpm_int": 0,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hr_minimum_bpm_int": 0,
- "hr_resting_bpm_int": 0,
- "hrv_avg_rmssd_float": 0.1,
- "hrv_avg_sdnn_float": 0.1,
- "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "movement": {
- "cadence_avg_rpm_float": 0.1,
- "cadence_granular_data_array": [
- {
- "cadence_rpm_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "cadence_maximum_rpm_float": 0.1,
- "pace_avg_min_per_km_float": 0.1,
- "pace_maximum_min_per_km_float": 0.1,
- "speed_avg_meters_per_second_float": 0.1,
- "lap_granular_data_array": [
- {
- "laps_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "speed_granular_data_array": [
- {
- "speed_meters_per_second_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "speed_maximum_meters_per_second_float": 0.1,
- "speed_normalized_meters_per_second_float": 0.1,
- "torque_avg_newton_meters_float": 0.1,
- "torque_maximum_newton_meters_float": 0.1,
- "torque_granular_data_array": [
- {
- "torque_newton_meters_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "velocity_avg_object": {
- "direction_string": "string",
- "speed_meters_per_second_float": 0.1
}, - "velocity_maximum_object": {
- "direction_string": "string",
- "speed_meters_per_second_float": 0.1
}
}, - "oxygenation": {
- "saturation_avg_percentage_int": 0,
- "vo2max_mL_per_min_per_kg_int": 0,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "vo2_granular_data_array": [
- {
- "vo2_mL_per_min_per_kg_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "position": {
- "position_centroid_object": {
- "lat_deg_float": 0.1,
- "lng_deg_float": 0.1
}, - "position_end_object": {
- "lat_deg_float": 0.1,
- "lng_deg_float": 0.1
}, - "position_granular_data_array": [
- {
- "lat_deg_float": 0.1,
- "lng_deg_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "position_polyline_map_data_summary_string": "string",
- "position_start_object": {
- "lat_deg_float": 0.1,
- "lng_deg_float": 0.1
}
}, - "power": {
- "power_avg_watts_float": 0.1,
- "power_granular_data_array": [
- {
- "power_watts_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "power_maximum_watts_float": 0.1
}, - "stress": {
- "tss_granular_data_array": [
- {
- "tss_score_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "high_stress_duration_seconds_int": 0,
- "low_stress_duration_seconds_int": 0,
- "medium_stress_duration_seconds_int": 0,
- "stress_at_rest_duration_seconds_int": 0,
- "stress_avg_level_int": 0,
- "stress_duration_seconds_int": 0,
- "stress_maximum_level_int": 0
}
}
]
}
}
}Fetches heart rate event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "heart_rate_event",
- "physical_health": {
- "events": {
- "heart_rate_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "heart_rate": {
- "hr_maximum_bpm_int": 0,
- "hr_minimum_bpm_int": 0,
- "hr_avg_bpm_int": 0,
- "hr_resting_bpm_int": 0,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_avg_rmssd_float": 0.1,
- "hrv_avg_sdnn_float": 0.1,
- "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves oxygenation event data for a specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "oxygenation_event",
- "physical_health": {
- "events": {
- "oxygenation_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "oxygenation": {
- "saturation_avg_percentage_int": 0,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "vo2max_mL_per_min_per_kg_int": 0,
- "vo2_granular_data_array": [
- {
- "vo2_mL_per_min_per_kg_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves stress event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "stress_event",
- "physical_health": {
- "events": {
- "stress_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "stress": {
- "stress_at_rest_duration_seconds_int": 0,
- "stress_duration_seconds_int": 0,
- "low_stress_duration_seconds_int": 0,
- "medium_stress_duration_seconds_int": 0,
- "high_stress_duration_seconds_int": 0,
- "stress_granular_data_array": [
- {
- "stress_score_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "stress_avg_level_int": 0,
- "stress_maximum_level_int": 0
}
}
]
}
}
}This endpoint only works through webhook, provides access to time-based step events from API-based data sources and SDK-based data sources.
Retrieves a summary of the user's sleep health data for a specified date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "data_structure": "sleep_summary",
- "sleep_health": {
- "summary": {
- "sleep_summary": {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId"
}, - "duration": {
- "sleep_start_datetime_string": "2023-12-29T21:07:14.402999Z",
- "sleep_end_datetime_string": "2023-12-29T21:07:14.402999Z",
- "sleep_date_string": "string",
- "sleep_duration_seconds_int": 0,
- "time_in_bed_seconds_int": 0,
- "light_sleep_duration_seconds_int": 0,
- "rem_sleep_duration_seconds_int": 0,
- "deep_sleep_duration_seconds_int": 0,
- "time_to_fall_asleep_seconds_int": 0,
- "time_awake_during_sleep_seconds_int": 0
}, - "scores": {
- "sleep_quality_rating_1_5_score_int": 0,
- "sleep_efficiency_1_100_score_int": 0,
- "sleep_goal_seconds_int": 0,
- "sleep_continuity_1_5_score_int": 0,
- "sleep_continuity_1_5_rating_int": 0
}, - "heart_rate": {
- "hr_maximum_bpm_int": 0,
- "hr_minimum_bpm_int": 0,
- "hr_avg_bpm_int": 0,
- "hr_resting_bpm_int": 0,
- "hr_basal_bpm_int": 0,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_avg_rmssd_float": 0.1,
- "hrv_avg_sdnn_float": 0.1,
- "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "temperature": {
- "temperature_avg_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_delta_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_granular_data_array": [
- {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "temperature_maximum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_minimum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}
}, - "breathing": {
- "breaths_minimum_per_min_int": 0,
- "breaths_avg_per_min_int": 0,
- "breaths_maximum_per_min_int": 0,
- "breathing_granular_data_array": [
- {
- "breaths_per_min_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "snoring_events_count_int": 0,
- "snoring_duration_total_seconds_int": 0,
- "snoring_granular_data_array": [
- {
- "snoring_events_count_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "saturation_avg_percentage_int": 0,
- "saturation_minimum_percentage_int": 0,
- "saturation_maximum_percentage_int": 0,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
}
}
}Retrieves a summary of the user's body health data for a specified date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "data_structure": "body_summary",
- "body_health": {
- "summary": {
- "body_summary": {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId"
}, - "body_metrics": {
- "waist_circumference_cm_int": 80,
- "hip_circumference_cm_int": 95,
- "chest_circumference_cm_int": 100,
- "bone_composition_percentage_int": 15,
- "muscle_composition_percentage_int": 40,
- "water_composition_percentage_int": 55,
- "weight_kg_float": 70.5,
- "height_cm_int": 170,
- "bmi_float": 24.4
}, - "blood_glucose": {
- "blood_glucose_avg_mg_per_dL_int": 95,
- "blood_glucose_granular_data_array": [
- {
- "blood_glucose_mg_per_dL_int": 100,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "blood_pressure": {
- "blood_pressure_avg_object": {
- "systolic_mmHg_int": 120,
- "diastolic_mmHg_int": 80
}, - "blood_pressure_granular_data_array": [
- {
- "systolic_mmHg_int": 120,
- "diastolic_mmHg_int": 80,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "hydration": {
- "water_total_consumption_mL_int": 2500,
- "hydration_amount_granular_data_array": [
- {
- "hydration_amount_mL_int": 300,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hydration_level_granular_data_array": [
- {
- "hydration_level_percentage_int": 75,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "heart_rate": {
- "hr_maximum_bpm_int": 110,
- "hr_minimum_bpm_int": 55,
- "hr_avg_bpm_int": 70,
- "hr_resting_bpm_int": 65,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 72,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_avg_rmssd_float": 40.5,
- "hrv_avg_sdnn_float": 50.2,
- "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "mood": {
- "mood_minimum_scale_int": 2,
- "mood_avg_scale_int": 4,
- "mood_maximum_scale_int": 5,
- "mood_granular_data_array": [
- {
- "mood_scale_int": 1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "mood_delta_scale_int": 3
}, - "nutrition": {
- "food_intake_float": 2100.5,
- "calories_intake_kcal_float": 2100.5,
- "protein_intake_g_float": 2100.5,
- "sugar_intake_g_float": 2100.5,
- "fat_intake_g_float": 2100.5,
- "trans_fat_intake_g_float": 2100.5,
- "carbohydrates_intake_g_float": 2100.5,
- "fiber_intake_g_float": 2100.5,
- "alcohol_intake_g_float": 2100.5,
- "sodium_intake_mg_float": 2100.5,
- "cholesterol_intake_mg_float": 2100.5
}, - "oxygenation": {
- "saturation_avg_percentage_int": 98,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 99,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "vo2max_mL_per_min_per_kg_int": 55,
- "vo2_granular_data_array": [
- {
- "vo2_mL_per_min_per_kg_int": 60,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "temperature": {
- "temperature_avg_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_delta_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_maximum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_minimum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_granular_data_array": [
- {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}, - "menstruation": {
- "last_updated_datetime_string": "string",
- "period_start_date_string": "2022-10-28",
- "cycle_day_int": 5,
- "predicted_cycle_length_days_int": 28,
- "cycle_length_days_int": 30,
- "current_phase_string": "follicular",
- "length_of_current_phase_days_int": 7,
- "days_until_next_phase_int": 3,
- "is_a_predicted_cycle_bool": true,
- "menstruation_flow_granular_data_array": [
- {
- "flow_mL_int": 5,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
}
}
}Retrieves body metrics event data for a specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "body_metrics_event",
- "body_health": {
- "events": {
- "body_metrics_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "body_metrics": {
- "waist_circumference_cm_int": 0,
- "hip_circumference_cm_int": 0,
- "chest_circumference_cm_int": 0,
- "bone_composition_percentage_int": 0,
- "muscle_composition_percentage_int": 0,
- "water_composition_percentage_int": 0,
- "weight_kg_float": 0.1,
- "height_cm_int": 0,
- "bmi_float": 0.1
}
}
]
}
}
}Retrieves heart rate event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "heart_rate_event",
- "body_health": {
- "events": {
- "heart_rate_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "heart_rate": {
- "hr_maximum_bpm_int": 0,
- "hr_minimum_bpm_int": 0,
- "hr_avg_bpm_int": 0,
- "hr_resting_bpm_int": 0,
- "hr_granular_data_array": [
- {
- "hr_bpm_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_avg_rmssd_float": 0.1,
- "hrv_avg_sdnn_float": 0.1,
- "hrv_sdnn_granular_data_array": [
- {
- "hrv_sdnn_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hrv_rmssd_granular_data_array": [
- {
- "hrv_rmssd_float": 0.1,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves oxygenation event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "oxygenation_event",
- "body_health": {
- "events": {
- "oxygenation_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "oxygenation": {
- "saturation_avg_percentage_int": 0,
- "saturation_granular_data_array": [
- {
- "saturation_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "vo2max_mL_per_min_per_kg_int": 0,
- "vo2_granular_data_array": [
- {
- "vo2_mL_per_min_per_kg_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves nutrition event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "nutrition_event",
- "body_health": {
- "events": {
- "nutrition_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "nutrition": {
- "food_intake_float": 0.1,
- "calories_intake_kcal_float": 0.1,
- "protein_intake_g_float": 0.1,
- "sugar_intake_g_float": 0.1,
- "fat_intake_g_float": 0.1,
- "trans_fat_intake_g_float": 0.1,
- "carbohydrates_intake_g_float": 0.1,
- "fiber_intake_g_float": 0.1,
- "alcohol_intake_g_float": 0.1,
- "sodium_intake_mg_float": 0.1,
- "cholesterol_intake_mg_float": 0.1
}
}
]
}
}
}Retrieves mood event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "mood_event",
- "body_health": {
- "events": {
- "mood_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "mood": {
- "mood_minimum_scale_int": 0,
- "mood_avg_scale_int": 0,
- "mood_maximum_scale_int": 0,
- "mood_granular_data_array": [
- {
- "mood_scale_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "mood_delta_scale_int": 0
}
}
]
}
}
}Retrieves hydration event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "hydration_event",
- "body_health": {
- "events": {
- "hydration_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "hydration": {
- "water_total_consumption_mL_int": 0,
- "hydration_amount_granular_data_array": [
- {
- "hydration_amount_mL_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
], - "hydration_level_granular_data_array": [
- {
- "hydration_level_percentage_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves blood glucose event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "blood_glucose_event",
- "body_health": {
- "events": {
- "blood_glucose_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "blood_glucose": {
- "blood_glucose_avg_mg_per_dL_int": 0,
- "blood_glucose_granular_data_array": [
- {
- "blood_glucose_mg_per_dL_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves blood pressure event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "blood_pressure_event",
- "body_health": {
- "events": {
- "blood_pressure_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "blood_pressure": {
- "blood_pressure_avg_object": {
- "systolic_mmHg_int": 0,
- "diastolic_mmHg_int": 0
}, - "blood_pressure_granular_data_array": [
- {
- "systolic_mmHg_int": 0,
- "diastolic_mmHg_int": 0,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}Retrieves body temperature event data for the specified user on a given date.
| user_id required | string (schema_user_id) ^[a-zA-Z0-9\-]{1,50}$ Example: user_id=demoUserId Unique identifier for the user. Can include numerals, UUID4, strings, or other identifiers. Length must be between 1 to 50 characters. |
| date required | string <date> Example: date=2023-01-01 Date in YYYY-MM-DD format. |
{- "client_uuid": "demoClientUUID",
- "user_id": "demoUserId",
- "version": 2,
- "document_version": 1,
- "auto_detected": false,
- "data_structure": "temperature_event",
- "body_health": {
- "events": {
- "temperature_event": [
- {
- "non_structured_data_array": [
- { }
], - "metadata": {
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "sources_of_data_array": [
- "Garmin"
], - "user_id_string": "demoUserId",
- "was_the_user_under_physical_activity_bool": true
}, - "temperature": {
- "temperature_avg_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_maximum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_minimum_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_delta_object": {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8
}, - "temperature_granular_data_array": [
- {
- "measurement_type_string": "skin",
- "temperature_celsius_float": 33.8,
- "datetime_string": "2023-12-29T21:07:14.402999Z",
- "interval_duration_seconds_float": 10,
- "source_of_data_string": "Garmin"
}
]
}
}
]
}
}
}