Log quick entry

Add calories and macros to a meal without picking a product, like Quick add in the app.

POST https://cotlet.dev/api/v1/fitatu/quick-entries

write

Enters nutrition values straight into a meal, the way Quick add does: useful for diet catering or values copied from a label. The entry is not saved to your Own list. It reaches no one and is undone with one call, delete_diary_item, so it runs without asking first.

Parameters

Parameters: log_quick_entry
NameTypeDescription
meal string required string Meal name from your Fitatu meal scheme. By default: breakfast, second breakfast, lunch, dinner, snack or supper.
kcal number required number Calories of the entry.
protein_g number number Protein in grams.
fat_g number number Fat in grams.
carbs_g number number Carbohydrates in grams.
date date date Day to log on, YYYY-MM-DD. Default: today.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/fitatu/quick-entries \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"date":"2026-10-14","meal":"lunch","kcal":624,"protein_g":38,"fat_g":24,"carbs_g":64}'
Python
result = client.call("fitatu", "log_quick_entry", {"date":"2026-10-14","meal":"lunch","kcal":624,"protein_g":38,"fat_g":24,"carbs_g":64})
Node.js
const result = await cotlet.call('fitatu', 'log_quick_entry', {"date":"2026-10-14","meal":"lunch","kcal":624,"protein_g":38,"fat_g":24,"carbs_g":64});
CLI
cotlet call fitatu log_quick_entry --data '{"date":"2026-10-14","meal":"lunch","kcal":624,"protein_g":38,"fat_g":24,"carbs_g":64}'

Example response

JSON

{
  "item_id": "it_7a31",
  "date": "2026-10-14",
  "meal": "lunch",
  "kcal": 624,
  "protein_g": 38,
  "fat_g": 24,
  "carbs_g": 64,
  "status": "logged"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.