POST
/
businesses
/
{id}
/
review_embed_config
curl --request POST \
  --url https://api.pocketflows.com/businesses/{id}/review_embed_config \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "review_text_prompt": "<string>",
  "review_text_placeholder": "<string>",
  "min_stars_to_prompt_review": 123,
  "google_request_review_url": "<string>",
  "submit_cta": "<string>",
  "slug": "<string>"
}'
{
  "title": "<string>",
  "review_text_prompt": "<string>",
  "review_text_placeholder": "<string>",
  "min_stars_to_prompt_review": 123,
  "google_request_review_url": "<string>",
  "submit_cta": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the business to create or update the config for

Body

application/json

Response

200 - application/json

The created or updated review embed configuration

The response is of type object.