Publishing Reviews via the Public API
Every review in Sparrow Intel has a published field — a simple true/false flag that you control. It doesn't change anything in Sparrow Intel itself. It exists so that, when you get reviews through the public API, you can choose to get only the reviews you've approved for your own site, widget, or downstream system. Filtering is optional: without it, you get every review.
Setting the field manually
On any review, use the Publish / Unpublish button in the action bar to toggle the field on or off.
Setting the field automatically
To publish reviews in bulk based on criteria you define, create a Review rule with the Set Published Field action. Combine it with any conditions you'd normally use (e.g. overall rating is 5, sentiment is positive, OTA is Airbnb) and matching reviews will be marked as published automatically going forward.
Typical workflow
- Decide what "publishable" means for your site (e.g. 4★ or higher, no policy violations, English only).
- Create a Review rule with those conditions and a Set Published Field action.
- In your API request, add
published=truetoGET /reviewsto feed only those reviews to your direct booking site or other downstream system.
Was this helpful?
Still need help? Ask the team