Skip to main content
POST
Batch get reviews

Request contract

  • Method and path: POST /apis/v1/social/accounts/{accountId}/gmb-reviews/batch
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/accounts/{accountId}/gmb-reviews/batch
  • accountId: path; required
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$

Body

application/json
locationNames
string[]
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.

Required array length: 1 - 50 elements
Pattern: ^accounts/[^/]+/locations/[^/]+$
orderBy
enum<string>
default:updateTime desc

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

Available options:
updateTime desc,
rating,
rating desc
pageSize
integer
default:50

Number of reviews per page (max 50)

Required range: 1 <= x <= 50
pageToken
string

Pagination token from previous response

Minimum string length: 1

Response

Batch reviews fetched successfully

accountId
string

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
locationReviews
object[]
nextPageToken
string
success
boolean