Body
Raw
Get Daily Body data for user_id
GET
/
v2
/
summary
/
body
/
{user_id}
/
raw
Authorization
Path
Query
curl --request GET \
--url {{BASE_URL}}/v2/summary/body/{user_id}/raw \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>'
{
"body": [
{
"timestamp": "2022-08-04T12:42:44.849767+00:00",
"data": {
"data": "...provider_specific_data"
},
"provider_id": "ed059fb6-3bb4-4c4b-9aae-0fec51224e06",
"user_id": "9d2b6976-3226-40cc-8adc-e8c2b898e0de",
"source_id": 1,
"priority_id": 1
}
]
}
Authorizations
x-vital-api-key
string
headerrequiredAPI key based authentication
Path Parameters
user_id
string
requiredQuery Parameters
provider
string
default: Provider oura/strava etc
start_date
string
requiredDate 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[]
requiredcurl --request GET \
--url {{BASE_URL}}/v2/summary/body/{user_id}/raw \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>'
{
"body": [
{
"timestamp": "2022-08-04T12:42:44.849767+00:00",
"data": {
"data": "...provider_specific_data"
},
"provider_id": "ed059fb6-3bb4-4c4b-9aae-0fec51224e06",
"user_id": "9d2b6976-3226-40cc-8adc-e8c2b898e0de",
"source_id": 1,
"priority_id": 1
}
]
}