Admin

Get macro targets for a specific user

get/api/admin/user-macro-targets/{userId}

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/admin/user-macro-targets/{userId}
  • Auth
    HTTP bearer

Path parameters

userIdnumber required

Response

unknown required

Example response

{
  "success": true,
  "targets": {
    "calories": 1500,
    "protein": 120,
    "carbs": 150,
    "fat": 50,
    "fiber": 25
  }
}

Changes

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