---
title: "Get user's meals"
method: GET
path: "/api/meals"
tags: ["Meals"]
---

# Get user's meals

`GET /api/meals`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/meals`
- Auth: HTTP bearer

## Query parameters

- `start_date` string, date
- `end_date` string, date
- `meal_type` 'breakfast' | 'lunch' | 'dinner' | 'snack'

## Response `200`

Meals retrieved successfully

- object
  - `meals` Meal[]
    - `id` string, uuid
    - `user_id` string, uuid
    - `meal_type` 'breakfast' | 'lunch' | 'dinner' | 'snack'
    - `meal_name` string
    - `meal_date` string, date
    - `meal_time` string, time
    - `total_calories` number
    - `total_protein_g` number
    - `total_carbs_g` number
    - `total_fat_g` number
    - `items` object[]

---

[API](https://skmtc.dev/hiyd/apis/hiyd-backend-api.md) - [All operations](https://skmtc.dev/hiyd/apis/hiyd-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hiyd/apis/hiyd-backend-api/revisions/23598d347e1b?raw)
