Reviews API

Fetch Google reviews for your business. Requires Google Place ID and API key configured in workspace settings.

GET/api/public/reviews

Query Parameters

refreshstring

Set to "true" to bypass cache and fetch fresh data from Google.

200Success
json
{
  "reviews": [
    {
      "author_name": "John Doe",
      "rating": 5,
      "text": "Great service!",
      "time": 1234567890,
      "profile_photo_url": "https://...",
      "relative_time_description": "2 months ago"
    }
  ],
  "rating": 4.8,
  "user_ratings_total": 42
}
404Not Configured
json
{ "error": "Google Reviews not configured for this workspace" }