Weight & Measurements

Save a weight entry

post/api/weight

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/weight
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Request body

weightnumber required
datestring

Example request

{
  "weight": 185.5,
  "date": "2025-01-15"
}

Response

unknown required

Example response

{
  "success": true,
  "data": {
    "id": 42,
    "user_id": 5,
    "weight": "185.5",
    "recorded_at": "2026-02-19T08:00:00.000Z",
    "created_at": "2026-02-19T08:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 34 revisions of this API.