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
| Name | Type | Description |
|---|---|---|
| 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 -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}' result = client.call("fitatu", "log_quick_entry", {"date":"2026-10-14","meal":"lunch","kcal":624,"protein_g":38,"fat_g":24,"carbs_g":64}) 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}); 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
{
"item_id": "it_7a31",
"date": "2026-10-14",
"meal": "lunch",
"kcal": 624,
"protein_g": 38,
"fat_g": 24,
"carbs_g": 64,
"status": "logged"
}