Meal Notes

List meal notes for a user across a whole day, grouped by meal_number.

get/api/meal-notes/by-day

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/meal-notes/by-day
  • Auth
    HTTP bearer

Query parameters

log_datestring required
Example:2026-04-24
user_idnumber

When set by a coach/admin caller, returns notes for this client instead of the caller.

scope'meal' | 'food' | 'all'

Response

unknown required

Example response

{
  "success": true,
  "log_date": "2026-04-24",
  "user_id": 5,
  "notes": [
    {
      "id": 12,
      "meal_number": 2,
      "body": "..."
    }
  ],
  "byMeal": {
    "2": [
      {
        "id": 12,
        "body": "..."
      }
    ]
  }
}

Changes

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