---
title: "Create a review embed"
method: POST
path: "/businesses/{id}/reviews/embeds"
tags: ["Review embeds"]
---

# Create a review embed

`POST /businesses/{id}/reviews/embeds`

## Path parameters

- `id` string, required

## Request body

- object
  - `review_embed_config` string, required — The ID of the review embed config
  - `customer` string — The ID of the customer

## Response `200`

The created `ReviewEmbed` object

- ReviewEmbed
  - `id` string, required — The ID of the review embed
  - `url` string, required — The URL to embed the review request
  - `business` string, required — The ID of the business
  - `customer` string, nullable, required — The ID of the customer
  - `review` string, nullable, required — The ID of the review
  - `review_embed_config` ReviewEmbedConfig, required
    - `id` string, required — The ID of the review embed config
    - `title` string, required — The title of the review embed
    - `review_text_prompt` string, required — The prompt for the review text
    - `review_text_placeholder` string, required — The placeholder for the review text
    - `min_stars_to_prompt_review` integer, required — The minimum number of stars to prompt for a review
    - `google_request_review_url` string, nullable, required — The URL to request a review from Google
    - `submit_cta` string, required — The text for the submit button
    - `slug` string, required — The unique identifier that appears in the public review URL
    - `redirect_to_google_request_review_url` boolean, required — Whether to redirect directly to the Google review link
    - `permanent_review_page_url` string, required — The permanent review page URL

---

[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)
