Bowel Movements

Log a bowel movement

Changed on
post/api/bowel-movements

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/bowel-movements
  • Auth
    HTTP bearer

Headers

x-timezonestring required

Request body

logged_atstring

ISO timestamp of the BM. Defaults to now. Accepts past timestamps for backfill (REW-410 pattern).

bristol_typenumber

Bristol Stool Scale 1-7. Optional — frequency-only logging is allowed.

notesstring

Example request

{
  "logged_at": "2026-04-30T08:15:00.000Z",
  "bristol_type": 4,
  "notes": "Slight cramping after lunch."
}

Response

Created

Changes