Get a users claimed businesses through API call[ Edited ]
October 2016 - last edited October 2016 by Terry W
I have an app that leverages the Google Maps API. I'm implementing a feature where a user is able to claim a business location. Given that my user may have logged in with their Google account and already verified their ownership of the business through Google My Business I'd like to reduce friction by leveraging Google My Business data. Ideally the user would either log in with their Google account or link their Google account after creating a user within my app. Once my app has their authorization token I'd like to be able to make a call to the Google My Business API to get that users claimed businesses.
Re: Get a users claimed businesses through API call
Hi @Lucas H,
Yes, you can request user consent using OAuth 2.0 protocol for each logged-in Google Account user to obtain an access token and refresh token (to refresh the access token) in order to access their respective Google My Business data. Please check out this Accepted Solution for using a single set of OAuth 2.0 credentials for separate Google Accounts. Please let me know if you have other questions for the Google My Business API.