---
title: "Generate a PDF for a meal plan"
method: POST
path: "/patients/{patient_id}/meal-plans/{meal_plan_id}/pdf"
tags: ["meal-plan"]
---

# Generate a PDF for a meal plan

`POST /patients/{patient_id}/meal-plans/{meal_plan_id}/pdf`

## Request

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

## Path parameters

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

## Response `200`

successful operation

## Other responses

- `400`: meal plan is not in a valid status for PDF generation
- `404`: meal plan 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)
