Skip to content

List meals

Lists your meals, newest first, a page at a time.

GEThttps://app.splot.health/v1/meals

Needs the Read permission.

ParameterTypeDescription
statestringOnly meals in this state. One of planned or logged.
daydateOnly meals on this day, in the timezone each was eaten in.
fromDaydateOnly meals on this day or later.
toDaydateOnly meals on this day or earlier.
fromdate-timeOnly meals eaten at or after this time, with a UTC offset.
todate-timeOnly meals eaten before this time, with a UTC offset.
limitintegerHow many to return. From 1 to 100. Defaults to 20.
offsetintegerHow many to skip. Send the previous page's nextOffset. Defaults to 0.

200 with a page of meals, newest first, and the offset of the next page, or null on the last.

{ "meals": [], "nextOffset": null }
Terminal window
curl "https://app.splot.health/v1/meals?fromDay=2026-09-28&toDay=2026-10-04&state=logged" \
-H "Authorization: Bearer $SPLOT_API_KEY"

Last updated