---
title: "Get swap recipe suggestions for a meal plan slot"
method: POST
path: "/patients/{patient_id}/meal-plans/{meal_plan_id}/swap-suggestions"
tags: ["meal-plan"]
---

# Get swap recipe suggestions for a meal plan slot

`POST /patients/{patient_id}/meal-plans/{meal_plan_id}/swap-suggestions`

## Request

- Base URL: `https://api.rxfoodapp.com/api`
- URL: `https://api.rxfoodapp.com/api/patients/{patient_id}/meal-plans/{meal_plan_id}/swap-suggestions`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required
- `meal_plan_id` integer, required

## Request body

- SwapSuggestionsRequest
  - `keywords` string, required
  - `slot_id` integer, required

## Response `200`

successful operation

- SwapSuggestionsResponse
  - `suggestions` object[], required

## Other responses

- `400`: no recipes found
- `404`: meal plan or slot not found

---

[API](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server.md) - [All operations](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/llms.txt) - [OpenAPI document](https://skmtc.dev/rxfoodapp/apis/inneranalytics-mnt-server/revisions/c3d8e22b22e8?raw)
