---
title: "Create a review for a business"
method: POST
path: "/businesses/{id}/reviews"
tags: ["Reviews"]
---

# Create a review for a business

`POST /businesses/{id}/reviews`

## Path parameters

- `id` string, required

## Request body

- object
  - `customer` string, nullable — The ID of the customer who wrote the review
  - `stars` integer, required — The number of stars the review has
  - `review_text` string, nullable — The text of the review
  - `created_at` string, nullable — The date and time the review was created in ISO 8601 format

## Response `200`

The created `Review` object

- Review
  - `id` string, required — The ID of the review
  - `created_at` string, required — The date and time the review was created
  - `updated_at` string, required — The date and time the review was last updated
  - `source` 'internal' | 'google' | 'yelp', required — The source of the review
  - `stars` integer, required — The number of stars the review has
  - `review_text` string, nullable, required — The text of the review
  - `customer` string, nullable, required — The ID of the customer who wrote the review
  - `business` string, required — The ID of the business that the review is about
  - `external_url` string, nullable, required — The URL of the review on the external site

---

[API](https://skmtc.dev/pocketflows/apis/pocketflows-api.md) · [All operations](https://skmtc.dev/pocketflows/apis/pocketflows-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pocketflows/pocketflows-api/revisions/26723490b96f/schema)
