summary

Get Body summary for user_id

get/v2/summary/body/{user_id}

Request

  • Base URL
    https://api.us.junction.com
  • URL
    https://api.us.junction.com/v2/summary/body/{user_id}
  • Auth
    API key in header x-vital-api-key

Path parameters

user_idstring uuid required

Query parameters

providerstring

Provider oura/strava etc

start_datestring required

Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00

end_datestring nullable

Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59

Response

Successful Response

Example response

{
  "body": [
    {
      "body_mass_index": 22.3,
      "bone_mass_percentage": 4.3,
      "calendar_date": "2023-02-27",
      "created_at": "2023-02-27T20:31:24+00:00",
      "date": "2023-02-27T12:31:24+00:00",
      "fat": 30,
      "height": 183,
      "id": "8be1306e-01fc-46b1-b5d1-a9e39052db09",
      "lean_body_mass_kilogram": 40.1,
      "muscle_mass_percentage": 40.2,
      "source": {
        "device_id": "550e8400-e29b-41d4-a716-446655440000",
        "provider": "withings",
        "type": "scale"
      },
      "updated_at": "2023-02-28T01:22:38+00:00",
      "user_id": "1449752e-0d8a-40e0-9206-91ab099b2537",
      "visceral_fat_index": 4.5,
      "waist_circumference_centimeter": 86.36,
      "water_percentage": 55.4,
      "weight": 80
    }
  ]
}

Changes

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status

    • warning

      removed the optional property /// from the response with the status