Get publishing settings

Your auto-publish rules from Reviews > Settings > Publishing.

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

read

Returns whether auto-publish is on, the minimum star rating, which blocks are on (unverified reviews, media, profanity, negative sentiment) and the profanity filter options. Use it to tell why a review is still pending. Reads only; the settings are changed in Okendo.

Parameters

No parameters.

Request

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

Example response

JSON

{
  "auto_publish": true,
  "minimum_star_rating": 4,
  "block_unverified": true,
  "block_media": false,
  "block_profanity": true,
  "block_negative_sentiment": true,
  "censor_flagged_words": true
}

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.