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
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 https://cotlet.dev/api/v1/yotpo/publishing-settings \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("yotpo", "get_publishing_settings") const result = await cotlet.call('yotpo', 'get_publishing_settings'); cotlet call yotpo get_publishing_settings Example response
{
"auto_publish": true,
"minimum_star_rating": 3,
"negative_sentiment_filter": true,
"profanity_alerts": true,
"held_review_auto_publish_days": 14
}