---
title: "Submit or update a rating (1–5) for a community recipe"
method: POST
path: "/api/cookbook/recipes/{id}/ratings"
tags: ["Cookbook"]
---

# Submit or update a rating (1–5) for a community recipe

`POST /api/cookbook/recipes/{id}/ratings`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/cookbook/recipes/{id}/ratings`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- UpsertRatingDto
  - `rating` number, required: Rating value between 1 and 5

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
