---
title: "Submit rental review"
method: POST
path: "/api/v1/marketplace/rentals/{rentalId}/review"
tags: ["Marketplace"]
---

# Submit rental review

`POST /api/v1/marketplace/rentals/{rentalId}/review`

## Request

- Base URL: `http://localhost:3002`
- URL: `http://localhost:3002/api/v1/marketplace/rentals/{rentalId}/review`
- Auth: none required

Submits a review for a completed rental. Public endpoint — no authentication required.

## Path parameters

- `rentalId` string, required

## Request body

- object
  - `rating` integer, required
  - `comment` string, nullable
  - `authorName` string, required

## Response `201`

Review submitted

- object
  - `data` Review
    - `id` string, required
    - `rentalId` string, required
    - `captainId` string, nullable
    - `boatId` string, nullable
    - `rating` integer, required
    - `comment` string, nullable
    - `authorName` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required

## Other responses

- `400`: Validation error
- `404`: Rental not found

---

[API](https://skmtc.dev/chartercaptain/apis/charter-captain-api.md) · [All operations](https://skmtc.dev/chartercaptain/apis/charter-captain-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chartercaptain/apis/charter-captain-api/revisions/1ffea1113adb?raw)
