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": [
    {
      "data": {
        "data": "...provider_specific_data"
      },
      "priority_id": 1,
      "provider_id": "5e8271a3-e71b-4882-a94a-7e364694cd16",
      "source_id": 1,
      "timestamp": "2023-03-22T00:00:00+00:00",
      "user_id": "1449752e-0d8a-40e0-9206-91ab099b2537"
    }
  ]
}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/activity/{user_id}/raw \
     --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
activity
object[]
required