You can create a meal for a diet plan using this API.
diet_plan_meals.view
diet_plans.view
{ "data": [<diet plan meal resource>, ...], }
Diet Plan Meal Resource
Authentication error
Not-found error
Permission error