---
title: "Upload image for a meal"
method: POST
path: "/api/meals/{id}/upload-image"
tags: ["Meals"]
---

# Upload image for a meal

`POST /api/meals/{id}/upload-image`

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/meals/{id}/upload-image`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body `multipart/form-data`

- object
  - `image` string, binary: Meal image file (max 5MB)

## Response `200`

Image uploaded successfully

---

[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)
