GMB Reviews

Batch get reviews

Changed on

Fetches reviews across multiple locations in a single request. More efficient than calling GET /gmb-reviews per location for multi-location businesses. Returns a flat locationReviews array (not grouped by location): each item carries the location resource name it belongs to (name) plus the review object (review), whose identity is review.reviewId. Reviews are requested from Google ordered by orderBy (default updateTime desc, newest first), so callers polling for recent reviews can stop paginating once they cross their date window. Note: this endpoint does not return aggregate metrics (averageRating / totalReviewCount). For those, use the single-location GET /gmb-reviews endpoint.

post/v1/accounts/{accountId}/gmb-reviews/batch

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/gmb-reviews/batch
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Request body

locationNamesstring[] required

Array of full location resource names (e.g. ['accounts/123/locations/456']). Max 50 per request (Google's batchGetReviews cap); chunk larger sets into multiple requests.

pageSizeinteger

Number of reviews per page (max 50)

pageTokenstring

Pagination token from previous response

orderBy'updateTime desc' | 'rating' | 'rating desc'

Sort order requested from Google. Defaults to 'updateTime desc' (newest first), which allows early-stopping pagination once results cross your date window.

Response

Batch reviews fetched successfully

successboolean
accountIdstring
nextPageTokenstring

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status