I'm trying to use this API to get all Google business reviews
https://mybusiness.googleapis.com/v4/accounts/{accountId}/locations/{locationId}/reviews
But here I need accountId and locationId. I want to make use of api to get both these values.
I was able to find accountid using the API but can't figure out how to get locationId.
This was suggested by few posts but this is not working.
mybusiness.googleapis.com/v4/accounts{accountId}/locations
Could someone help me get locationId using api?