Water & Vitamins

Log water intake

post/api/log/water

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/log/water
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Request body

amountOznumber required
logDatestring

Example request

{
  "amountOz": 16,
  "logDate": "2025-01-15"
}

Response

unknown required

Example response

{
  "success": true,
  "data": {
    "id": 3,
    "user_id": 5,
    "amount_oz": 16,
    "log_date": "2026-02-19",
    "created_at": "2026-02-19T15:00:00.000Z"
  }
}

Changes

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