NauTritivadevelopers
Endpoints

Create a recipe from existing foods

POST/v1/recipes

Any API key, including free tier, can create a recipe — it's a composition of already-verified foods, not a new factual claim about a food.

Parâmetros

namestringbodyobrigatório
descriptionstringbody
servingsintegerbody
instructionsstringbody
ingredientsarraybodyobrigatório

Respostas

201Created
404One or more foodId not found
curl -X POST "https://nautritiva.vercel.app/v1/recipes" \
  -H "Authorization: Bearer $NTV_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
OpenAPI JSON →