Nutrition
chevron down
 

Nutrition

The Nutrition endpoints are used for querying and modifying the food and water data.

The endpoints available in this section are

  • Add Favorite Foods adds a food to the user's list of favorite foods.
  • Create Food creates a new private food for a user.
  • Create Food Goal creates or updates a user's daily calorie consumption or food plan goal.
  • Create Food Log creates a food log entry for a given day.
  • Create Meal creates a meal with the provided foods.
  • Create Water Goal creates or updates a user's daily water consumption goal.
  • Create Water Log creates a water log entry for the user.
  • Delete Custom Food deletes a custom food created by the user.
  • Delete Favorite Foods deletes a food from the user's favorite food list.
  • Delete Food Log deletes a single food log created by the user.
  • Delete Meal deletes a single meal created by the user.
  • Delete Water Log deletes a user's water log entry.
  • Get Favorite Foods retrieves a list of the user's favorite consumed foods.
  • Get Food retrieves details of a specific food stored in the Fitbit foods database or a private food the user has created.
  • Get Food Goals retrieves the user's daily calorie consumption goal and/or food plan.
  • Get Food Locales retrieves the locales used to search, log and create foods.
  • Get Food Log retrieves a summary of all the user's food log entries for a given day.
  • Get Food Units retrieves a list of all valid Fitbit food units in the format requested.
  • Get Frequent Foods retrieves a list of the user's frequently consumed foods.
  • Get Meal retrieves a single meal created by the user.
  • Get Meals retrieves a list of meals created by the user.
  • Get Recent Foods retrieves a list of the user's recently consumed foods.
  • Get Water Goal retrieves the user's daily water consumption goal.
  • Get Water Log retrieves a list of the user's water entries and the daily summary.
  • Search Foods retrieves a list of the public foods from the Fitbit foods database and the list of private foods the user has created.
  • Update Food Log updates the quantity or calories consumed for a user's existing food entry
  • Update Meal updates the contents of an existing meal.
  • Update Water Log updates the quantity consumed for a user's existing water entry.