connect
List GBP locations
For headless flows. Returns the list of GBP locations the user can manage. Use X-Connect-Token if connecting via API key.
AuthorizationBearer <token>
API key authentication - use your Late API key as a Bearer token
In: header
Query Parameters
profileIdstring
Profile ID from your connection flow
tempTokenstring
Temporary Google access token from the OAuth callback redirect
Response Body
application/json
application/json
application/json
curl -X GET "https://getlate.dev/api/v1/connect/googlebusiness/locations?profileId=string&tempToken=string"{
"locations": [
{
"id": "9281089117903930794",
"name": "My Coffee Shop",
"accountId": "accounts/113303573364907650416",
"accountName": "My Business Account",
"address": "123 Main St, City, Country",
"category": "Coffee shop"
}
]
}Empty
{
"error": "Unauthorized"
}{
"error": "string"
}