Lab results

Record a blood draw and its results

Every context question can be left null. A skipped answer makes the draw less comparable with others; it never blocks saving.

post/labs/draws

Request

  • Base URL: https://bodylab.lol/api/v1
  • URL: https://bodylab.lol/api/v1/labs/draws
  • Auth: HTTP bearer

Headers

X-Client-Platformstring

The native client's platform, e.g. ios. Server-side and non-native callers omit it.

X-Client-Versionstring

The native client's own semver version. With X-Client-Platform, a version below that platform's minimum is refused with CLIENT_UPGRADE_REQUIRED (426).

Request body

localDatestring date required

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

collectedTimestring nullable
labNamestring nullable
fastingHoursnumber nullable
recentIllnessboolean nullable
ironSupplement10dboolean nullable
biotinboolean nullable
creatineboolean nullable
hormoneMedicationboolean nullable
menstruatingboolean nullable
cycleDayinteger nullable
altitudeMnumber nullable

Response

OK

idstring required

Opaque identifier.

Changes

No recorded changes to this operation across all 1 revision of this API.