Get a review
Returns one Google Business review, in the same shape as the entries of GET /v1/accounts/{accountId}/gmb-reviews. The review is read from the account's selected location unless locationId overrides it, and Google returns 404 for a review id that belongs to another location. Read the review before replying if a human may have answered it already: replies are overwritten in place and Google keeps no history.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The Zernio account ID (from /v1/accounts)
The review ID portion (e.g. "AIe9_BGx1234567890"), not the full resource name
Query Parameters
Override which location to read the review from. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
Response Body
application/json
application/json
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.getGoogleBusinessReview({ path: { accountId: 'account_abc123', reviewId: 'review_abc123', },});console.log(data);{
"success": true,
"accountId": "64e1f0a9e2b5af0012ab34cd",
"locationId": "9281089117903930794",
"review": {
"id": "AIe9_BGx1234567890",
"name": "accounts/123456789/locations/9281089117903930794/reviews/AIe9_BGx1234567890",
"reviewer": {
"displayName": "John Smith",
"profilePhotoUrl": "https://lh3.googleusercontent.com/a/...",
"isAnonymous": false
},
"rating": 5,
"starRating": "FIVE",
"comment": "Great service and friendly staff! Highly recommend.",
"createTime": "2024-01-15T10:30:00Z",
"updateTime": "2024-01-15T10:30:00Z",
"reviewReply": {
"comment": "Thank you for your kind words! We appreciate your support.",
"updateTime": "2024-01-16T08:00:00Z"
},
"photoCount": 0,
"photos": []
}
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Access token invalid. Please reconnect your Google Business Profile account.",
"code": "token_invalid"
}{
"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.
Batch get reviews POST
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.