GET
/
v2
/
summary
/
workouts
/
{user_id}
/
raw
curl --request GET \
     --url {{BASE_URL}}/v2/summary/workouts/{user_id}/raw \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'
{
  "workouts": [
    {
      "timestamp": "2022-08-04T12:42:44.857707+00:00",
      "data": {
        "provider_specific": "..._data"
      },
      "provider_id": "61709202-ab4d-480a-8cc0-254e64d7c33e",
      "user_id": "ba6a785a-b3c3-4bda-ad8c-4571b67f6089",
      "source_id": 1,
      "priority_id": 1,
      "sport_id": 3
    }
  ]
}
curl --request GET \
     --url {{BASE_URL}}/v2/summary/workouts/{user_id}/raw \
     --header 'Accept: application/json' \
     --header 'x-vital-api-key: <API_KEY>'
{
  "workouts": [
    {
      "timestamp": "2022-08-04T12:42:44.857707+00:00",
      "data": {
        "provider_specific": "..._data"
      },
      "provider_id": "61709202-ab4d-480a-8cc0-254e64d7c33e",
      "user_id": "ba6a785a-b3c3-4bda-ad8c-4571b67f6089",
      "source_id": 1,
      "priority_id": 1,
      "sport_id": 3
    }
  ]
}

Authorizations

x-vital-api-key
string
headerrequired

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