Get publishing settings

The auto-publish rules in Settings > Publishing Settings: minimum rating and the profanity and sentiment filters.

GET https://cotlet.dev/api/v1/yotpo/publishing-settings

read

Returns whether Auto-publish reviews is on, the minimum star rating below which you publish by hand, and the state of the negative-sentiment filter. The profanity filter always blocks auto-publishing; profanity_alerts says whether you get emails for it. Reviews held back publish by themselves after 14 days unless you act. Read it before judging a queue.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/yotpo/publishing-settings \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("yotpo", "get_publishing_settings")
Node.js
const result = await cotlet.call('yotpo', 'get_publishing_settings');
CLI
cotlet call yotpo get_publishing_settings

Example response

JSON

{
  "auto_publish": true,
  "minimum_star_rating": 3,
  "negative_sentiment_filter": true,
  "profanity_alerts": true,
  "held_review_auto_publish_days": 14
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.