How to Use Google My Business Api to get the reviews , and reply to that

Praveen Hegde picture Praveen Hegde · Dec 28, 2017 · Viewed 9.4k times · Source

If I have api key of Business API, i just want example of URL, like how to put the place id and api key.

Answer

Danyal Malik picture Danyal Malik · Jan 2, 2018

If Google have authorized you to use Google Business API then you need to

  • Authenticate the user via OAuth.
  • After authentication which will give you the token, API will return you the users's account.
  • Now to get the reviews you have to make Http Get request to the endpoint below https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationid}/reviews

Your Http Get request must have Access Token
For Example: https://mybusiness.googleapis.com/.../reviews??access_token={tokenHere}
this will return you all the reviews.
Ref: https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews
Hope that answered your Question.