Summaries
daily.data.body.updated

Each summary object is uniquely identified by its id.

If multiple events are received at the same id, the last event received replaces all its previous versions.

Properties

event_typerequired
const string

Constant: daily.data.body.updated

datarequired
ClientFacingBody
user_idrequired
string

User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.

user_key
string | null

[⚠️ Deprecated] User key returned by vital create user key request. This key should be stored in your database against the user and used for all interactions with the vital api.

idrequired
string
daterequired
string

[⚠️ Deprecated] Date of the specified record, formatted as ISO8601 datetime string in UTC 00:00. Deprecated in favour of calendar_date.

calendar_daterequired
string

Date of the summary in the YYYY-mm-dd format.

weight
number | null

Weight in kg::kg

fat
number | null

Body fat percentage::perc

sourcerequired
ClientFacingSource
namerequired
string

Name of source of information

slugrequired
string

Slug for designated source

logorequired
string

URL for source logo

Examples

{
  "event_type": "daily.data.body.updated",
  "data": {
    "id": "ceecea35-978c-48f0-89e6-a385ed31683c",
    "date": "2023-05-26T20:56:49.391250+00:00",
    "calendar_date": "2023-56-",
    "weight": 80,
    "fat": 30,
    "height": 183,
    "source": {
      "name": "Oura",
      "slug": "oura",
      "logo": "https://logo_url.com"
    },
    "user_id": "f694642d-6faf-4d3d-9ce2-9895a1fea133"
  }
}