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": [
    {
      "id": "4340a0fa-549c-4a47-bd83-b2af6bbeffa9",
      "calendar_date": "2022-08-04",
      "weight": "80kg",
      "fat": "30%",
      "height": 183,
      "source": {
        "name": "Oura",
        "slug": "oura",
        "logo": "https://logo_url.com"
      },
      "user_id": "7a9ca5ad-2a2c-4a11-a9ee-e7a06c219594"
    }
  ]
}

Authorizations

x-vital-api-key
string
headerrequired

API key based authentication

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

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
body
object[]
required