---
search:
  tags:
    - Weight
    - POST
seo:
  description: >-
    Records a manual body-weight reading for the caller. Reference for the POST
    /api/weight endpoint in the skcal API.
sidebar:
  label: Log a weigh-in
  badge: POST
title: Log a weigh-in
type: openapi-operation
---
Records a manual body-weight reading for the caller.

`POST /api/weight`

**Request body** (`application/json`, required)

The weigh-in to record.

- `weightKg` (number, required) — Body weight to log, in kilograms.
- `bodyFatPct` (number | null) — Optional body-fat percentage for the weigh-in.
- `note` (string) — Optional note (truncated to 500 characters).

Request body example:

```json
{
  "weightKg": 72.6,
  "bodyFatPct": 17.4,
  "note": "morning, fasted"
}
```

**Responses**

- `200` — The reading was stored.
- `400` — The request body or parameters failed validation.

Response example, 200:

```json
{
  "ok": true
}
```
