GET
/
v2
/
summary
/
body
/
{user_id}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/body/{user_id} \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'
{
  "body": [
    {
      "bone_mass_percentage": 4.3,
      "calendar_date": "2023-02-27",
      "date": "2023-02-27T12:31:24+00:00",
      "fat": 30,
      "height": 183,
      "id": "8be1306e-01fc-46b1-b5d1-a9e39052db09",
      "muscle_mass_percentage": 40.2,
      "source": {
        "logo": "https://logo_url.com",
        "name": "Withings",
        "slug": "withings"
      },
      "user_id": "1449752e-0d8a-40e0-9206-91ab099b2537",
      "visceral_fat_index": 4.5,
      "water_percentage": 55.4,
      "weight": 80
    }
  ]
}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/body/{user_id} \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'

Authorizations

x-vital-api-key
string
header
required

Vital Team API Key

Path Parameters

user_id
string
required

Query Parameters

provider
string
default:

Provider oura/strava etc

start_date
string
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_date
string | null

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

200
application/json
Successful Response
body
object[]
required