connect
List GBP locations
Returns all Google Business Profile locations the connected account has access to, including the currently selected location.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Path Parameters
accountIdstring
Response Body
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/accounts/string/gmb-locations"{
"locations": [
{
"id": "12345678901234567890",
"name": "My Business Location",
"accountId": "accounts/123456789",
"accountName": "My Business Account",
"address": "123 Main St, San Francisco, CA",
"category": "Restaurant",
"websiteUrl": "https://mybusiness.com"
}
],
"selectedLocationId": "12345678901234567890",
"cached": true
}{
"error": "Unauthorized"
}Empty