Batch get reviews
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 list of individual reviews, each tagged with its review resource name. Note: this endpoint does not return aggregate metrics (averageRating / totalReviewCount). For those, use the single-location GET /gmb-reviews endpoint.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Array of full location resource names (e.g. ['accounts/123/locations/456'])
Number of reviews per page (max 50)
50value <= 50Pagination token from previous response
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.batchGetGoogleBusinessReviews({ path: { accountId: 'account_abc123', }, body: { locationNames: [ 'Example', ], },});console.log(data);{
"success": true,
"accountId": "string",
"locationReviews": [
{
"name": "string",
"review": {}
}
],
"nextPageToken": "string"
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}Get reviews GET
Returns reviews for a GBP account including ratings, comments, and owner replies. Use nextPageToken for pagination.
Reply to a review POST
Posts (or updates) the business owner reply to a Google Business review. The reply is associated with the account's currently selected location (set via /v1/accounts/{accountId}/gmb-locations). Calling this endpoint a second time on the same review overwrites the previous reply (PUT semantics on Google's side).