GET
/
v2
/
summary
/
activity
/
{user_id}
/
raw
curl --request GET \
     --url {{BASE_URL}}/v2/summary/activity/{user_id}/raw \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'
{
  "activity": [
    {
      "timestamp": "2022-08-04T12:42:44.847351+00:00",
      "data": {
        "data": "...provider_specific_data"
      },
      "provider_id": "e2b25f37-846e-49a9-bf5b-5bb24d62b289",
      "user_id": "8e837eec-0717-41df-b108-43f4f206582a",
      "source_id": 1,
      "priority_id": 1
    }
  ]
}

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