younifyd
Menu

Best Sentences

Best Sentences

POST/v1/reviews/best_sentences

Use it in a workflow

  1. Add a step and choose the Yotpo connector.
  2. Pick the Best Sentences action (under Reviews & Ratings).
  3. Fill in the fields below, then reference the result from later steps as {{bestSentences.response.data}}.

Request

Query parameters

access_tokenstring

Request body

Enter the body as JSON in the step's Body field.

account_idstringrequired

(app_key)

start_datestring
end_datestring
external_product_idsarray<string>
topicsstring
exclude_topicsstring
minimum_scorestring
review_idsstring
minimum_sentence_lengthstring
maximum_sentence_lengthstring
minimum_sentimentstring
maximum_number_of_sentencesstring
countriesstring
statesstring
product_idsstring
product_groupsstring
product_collectionsstring
exclude_unpublishedboolean
json
{
  "account_id": "string",
  "start_date": "string",
  "end_date": "string",
  "external_product_ids": [
    "string"
  ],
  "topics": "string",
  "exclude_topics": "string",
  "minimum_score": "string",
  "review_ids": "string",
  "minimum_sentence_length": "string",
  "maximum_sentence_length": "string",
  "minimum_sentiment": "string",
  "maximum_number_of_sentences": "string"
}

Response

Returns 200 with an object. Read it in later steps with {{bestSentences.response.data.<field>}}.

json
{}

Need more? See the Yotpo guide for connection setup and behaviour shared by every action.