Food Log

Get user macro nutrition targets

get/api/macro-targets

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

Response

unknown required

Example response

{
  "success": true,
  "targets": {
    "macros": {
      "calories": 1500,
      "protein": 120,
      "fat": 50,
      "carbs": 150,
      "fiber": 25
    },
    "goals": {
      "water": {
        "goal_oz": 64
      },
      "weight": {
        "start_weight": 200,
        "goal_weight": 160
      }
    }
  }
}

Changes

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