Meal Notes

Create a meal note. Premium-gated (enrolled or paid).

post/api/meal-notes

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

Request body

log_datestring required

Diary date (YYYY-MM-DD) the meal belongs to

meal_numbernumber required

1=breakfast, 2=lunch, 3=dinner, 4-6=snack

meal_typestring

Optional label mirroring mobile UI

food_log_idnumber

Optional — attach the note to a specific food_logs row instead of the whole meal

bodystring required

Note content (plain text, max 2000 chars)

Example request

{
  "log_date": "2026-04-24",
  "meal_number": 2,
  "meal_type": "lunch",
  "food_log_id": 101,
  "body": "Ate out, estimated portions."
}

Changes

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