Skip to main content
POST
/
review_embed_configs
/
{id}
Update a review embed config
curl --request POST \
  --url https://api.pocketflows.com/review_embed_configs/{id} \
  --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>"
}'
{
  "id": "<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 review embed config

Body

application/json
title
string

The updated title of the review embed

review_text_prompt
string

The updated prompt for the review text

review_text_placeholder
string

The updated placeholder for the review text

min_stars_to_prompt_review
integer

The updated minimum number of stars to prompt for a review

google_request_review_url
string | null

The updated URL to request a review from Google

submit_cta
string

The updated text for the submit button

slug
string

The updated slug for the review embed

Response

200 - application/json

The updated review embed configuration

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

submit_cta
string
required

The text for the submit button

google_request_review_url
string | null

The URL to request a review from Google

I