Explore Plans
Mobile menu Close menu
iOS HealthiOS Health

Log calories consumed

This action logs calories consumed to your iPhone's Health app.

Developer info

API endpoint slug
ios_health.log_calories_consumed
Filter code method
IosHealth.logCaloriesConsumed.skip(string?: reason)
Runtime method
runAction("ios_health.log_calories_consumed", {})

Action fields

Number of calories Text input > Other

Label
Number of calories
Helper text
e.g. 250
Slug
number_of_calories
Required
true
Can have default value
true
Filter code method
IosHealth.logCaloriesConsumed.setNumberOfCalories(string: numberOfCalories)

Food description Text input > Other

Label
Food description
Helper text
Optional e.g. broccoli salad
Slug
food_description
Required
false
Can have default value
true
Filter code method
IosHealth.logCaloriesConsumed.setFoodDescription(string: foodDescription)

Occurred at Text input > Other

Label
Date and time consumed
Helper text
Optional and will use current time if blank
Slug
occurred_at
Required
false
Can have default value
true
Filter code method
IosHealth.logCaloriesConsumed.setOccurredAt(string: occurredAt)