---
title: "Record one morning's readings"
method: PUT
path: "/wellness/{date}"
tags: ["Recovery"]
---

# Record one morning's readings

`PUT /wellness/{date}`

## Request

- Base URL: `https://bodylab.lol/api/v1`
- URL: `https://bodylab.lol/api/v1/wellness/{date}`
- Auth: HTTP bearer

Every reading is optional; readiness uses whatever is there. A day with every reading null is deleted, since an empty row would read as measured-and-nothing. Readings cleared here stay clear through later syncs.

## Path parameters

- `date` string, date, required: A day on the athlete's own calendar: YYYY-MM-DD, no time zone.

## Headers

- `X-Client-Platform` string
- `X-Client-Version` string

## Request body

- object
  - `restingHr` integer, nullable, required: Morning resting heart rate, beats per minute.
  - `hrv` integer, nullable, required: Overnight heart-rate variability, milliseconds (RMSSD).
  - `sleepScore` integer, nullable, required: Sleep score, 0–100.
  - `energy` integer, nullable, required: A device's energy or body-battery score, 0–100.
  - `sleepMinutes` integer, nullable: Minutes asleep. Omitted leaves the day's value as it is, so a client that doesn't show sleep minutes doesn't clear them.

## Response `204`

No content.

## Other responses

- `401`: Error: UNAUTHORIZED.

---

[API](https://skmtc.dev/bodylab/apis/body-lab-api.md) · [All operations](https://skmtc.dev/bodylab/apis/body-lab-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bodylab/apis/body-lab-api/revisions/544c201eaf88?raw)
