List a Google login's Business Profile locations
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 3,
"locations": [
{
"assignable": true,
"name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456",
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"bio": "Wood-fired pizza since 1998",
"category": "Pizza restaurant",
"details": {
"ad_phone": "<string>",
"additional_categories": [
{
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
}
],
"additional_phones": [
"<string>"
],
"can_delete": true,
"can_have_business_calls": true,
"can_have_food_menus": true,
"can_modify_service_list": true,
"can_operate_health_data": true,
"can_operate_local_post": true,
"can_operate_lodging_data": true,
"can_reopen": true,
"duplicate_location": "<string>",
"has_google_updated": true,
"has_pending_edits": true,
"has_voice_of_merchant": true,
"is_particularly_personal_place": true,
"labels": [
"<string>"
],
"language_code": "en",
"latlng": {
"latitude": 48.8566,
"longitude": 2.3522
},
"maps_uri": "https://maps.google.com/?cid=123",
"more_hours": [
{
"hours_type_id": "DRIVE_THROUGH",
"periods": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
]
}
],
"new_review_uri": "https://g.page/r/abc/review",
"open_status": "OPEN",
"opening_date": "2026-09-01",
"place_id": "ChIJabc",
"primary_category": {
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
},
"primary_phone": "+33 1 23 45 67 89",
"regular_hours": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
],
"relationship_data": {
"children_locations": [
{
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
],
"parent_chain": "<string>",
"parent_location": {
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
},
"service_area": {
"business_type": "CUSTOMER_LOCATION_ONLY",
"places": [
{
"place_id": "<string>",
"place_name": "Paris"
}
],
"region_code": "FR"
},
"service_items": [
{
"free_form_service_item": {
"category": "<string>",
"label": {
"description": "<string>",
"display_name": "Emergency unlock",
"language_code": "en"
}
},
"price": {
"currency_code": "EUR",
"nanos": 123,
"units": "80"
},
"structured_service_item": {
"description": "<string>",
"service_type_id": "<string>"
}
}
],
"special_hours": [
{
"close_time": "<string>",
"closed": true,
"end_date": "2026-12-25",
"open_time": "<string>",
"start_date": "2026-12-25"
}
],
"store_code": "JP-01",
"storefront_address": {
"address_lines": [
"<string>"
],
"administrative_area": "Île-de-France",
"locality": "Paris",
"organization": "<string>",
"postal_code": "75001",
"region_code": "FR",
"sorting_code": "<string>",
"sublocality": "<string>"
},
"website_uri": "https://joes.example"
},
"maps_uri": "https://maps.google.com/?cid=123"
}
],
"login_id": "cred_01J...",
"login_email": "[email protected]",
"login_name": "[email protected]"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Google
List a Google login's Business Profile locations
Lists every Business Profile location this login can manage, live from Google, merged with assignment state. Locations added in Google Business Profile after the last authorization appear here without re-authenticating. assignable reflects ownership only. login_email identifies the Google account itself, and may be empty on older connections.
GET
/
platforms
/
google
/
logins
/
{login_id}
/
locations
List a Google login's Business Profile locations
curl --request GET \
--url https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.social-api.ai/v1/platforms/google/logins/{login_id}/locations"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"count": 3,
"locations": [
{
"assignable": true,
"name": "Joe's Pizza (Downtown)",
"platform_account_id": "accounts/123/locations/456",
"assigned_account_id": "<string>",
"assigned_brand_id": "<string>",
"assigned_brand_name": "<string>",
"bio": "Wood-fired pizza since 1998",
"category": "Pizza restaurant",
"details": {
"ad_phone": "<string>",
"additional_categories": [
{
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
}
],
"additional_phones": [
"<string>"
],
"can_delete": true,
"can_have_business_calls": true,
"can_have_food_menus": true,
"can_modify_service_list": true,
"can_operate_health_data": true,
"can_operate_local_post": true,
"can_operate_lodging_data": true,
"can_reopen": true,
"duplicate_location": "<string>",
"has_google_updated": true,
"has_pending_edits": true,
"has_voice_of_merchant": true,
"is_particularly_personal_place": true,
"labels": [
"<string>"
],
"language_code": "en",
"latlng": {
"latitude": 48.8566,
"longitude": 2.3522
},
"maps_uri": "https://maps.google.com/?cid=123",
"more_hours": [
{
"hours_type_id": "DRIVE_THROUGH",
"periods": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
]
}
],
"new_review_uri": "https://g.page/r/abc/review",
"open_status": "OPEN",
"opening_date": "2026-09-01",
"place_id": "ChIJabc",
"primary_category": {
"display_name": "Pizza restaurant",
"name": "categories/gcid:pizza_restaurant"
},
"primary_phone": "+33 1 23 45 67 89",
"regular_hours": [
{
"close_day": "MONDAY",
"close_time": "17:30",
"open_day": "MONDAY",
"open_time": "09:00"
}
],
"relationship_data": {
"children_locations": [
{
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
],
"parent_chain": "<string>",
"parent_location": {
"place_id": "<string>",
"relation_type": "DEPARTMENT_OF"
}
},
"service_area": {
"business_type": "CUSTOMER_LOCATION_ONLY",
"places": [
{
"place_id": "<string>",
"place_name": "Paris"
}
],
"region_code": "FR"
},
"service_items": [
{
"free_form_service_item": {
"category": "<string>",
"label": {
"description": "<string>",
"display_name": "Emergency unlock",
"language_code": "en"
}
},
"price": {
"currency_code": "EUR",
"nanos": 123,
"units": "80"
},
"structured_service_item": {
"description": "<string>",
"service_type_id": "<string>"
}
}
],
"special_hours": [
{
"close_time": "<string>",
"closed": true,
"end_date": "2026-12-25",
"open_time": "<string>",
"start_date": "2026-12-25"
}
],
"store_code": "JP-01",
"storefront_address": {
"address_lines": [
"<string>"
],
"administrative_area": "Île-de-France",
"locality": "Paris",
"organization": "<string>",
"postal_code": "75001",
"region_code": "FR",
"sorting_code": "<string>",
"sublocality": "<string>"
},
"website_uri": "https://joes.example"
},
"maps_uri": "https://maps.google.com/?cid=123"
}
],
"login_id": "cred_01J...",
"login_email": "[email protected]",
"login_name": "[email protected]"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}{
"error": {
"code": "resource.not_found",
"message": "Account not found",
"meta": {}
},
"request_id": "01HZ9X3Q4R5M6N7P8V2K0W1J"
}Authorizations
Response
OK
Example:
Example: