Google Business Profile endpoints
Google Business Profile endpoints in the Siar social media API: 27 operations for Google Business Profile only, with parameters and curl examples.
Updated
These operations exist for Google Business Profile only. The shared operations (posts, comments, analytics) are in the API reference; all network-specific areas are listed under network-specific operations.
Operations
| Operation | Method and path |
|---|---|
| Add a media item (photo/video) using uploadId and category | POST /api/v1/misc/google-business/media |
| List Google Business media items | GET /api/v1/misc/google-business/media |
| Delete Google Business media item | DELETE /api/v1/misc/google-business/media |
| Delete a Google Business post | DELETE /api/v1/misc/google-business/post |
| Get Google Business location profile | GET /api/v1/misc/google-business/location |
| Update Google Business location profile fields | PATCH /api/v1/misc/google-business/location |
| Update Google Business regular/special/more hours | PATCH /api/v1/misc/google-business/location/hours |
| Get Google Business location attributes | GET /api/v1/misc/google-business/location/attributes |
| Update Google Business location attributes | PATCH /api/v1/misc/google-business/location/attributes |
| List available Google Business attributes | GET /api/v1/misc/google-business/location/attributes/available |
| List the search terms customers used to find the location | GET /api/v1/misc/google-business/location/search-keywords |
| List available Google Business categories | GET /api/v1/misc/google-business/location/categories/available |
| Get Google Business service list | GET /api/v1/misc/google-business/location/service-list |
| Update Google Business service list | PATCH /api/v1/misc/google-business/location/service-list |
| Get Google Business food menus | GET /api/v1/misc/google-business/location/food-menus |
| Update Google Business food menus | PATCH /api/v1/misc/google-business/location/food-menus |
| List Google Business place action links | GET /api/v1/misc/google-business/location/place-action-links |
| Create Google Business place action link | POST /api/v1/misc/google-business/location/place-action-links |
| Update Google Business place action link | PATCH /api/v1/misc/google-business/location/place-action-links |
| Delete Google Business place action link | DELETE /api/v1/misc/google-business/location/place-action-links |
| Start a new Google Reviews import | POST /api/v1/misc/google-business/reviews/import |
| Get review import status list | GET /api/v1/misc/google-business/reviews/import |
| Get review import by ID | GET /api/v1/misc/google-business/reviews/import/{importId} |
| List imported Google Reviews | GET /api/v1/misc/google-business/reviews |
| Get a single imported Google Review | GET /api/v1/misc/google-business/reviews/{reviewId} |
| Reply to a Google Review (creates or updates the owner reply) | PUT /api/v1/misc/google-business/reviews/{reviewId}/reply |
| Delete the owner reply from a Google Review | DELETE /api/v1/misc/google-business/reviews/{reviewId}/reply |
/api/v1/misc/google-business/media Add a media item (photo/video) using uploadId and category
misc.google_business.addMedia · requires x-api-key
Request body application/json
-
teamIdstring required -
uploadIdstring required -
categorystring default "ADDITIONAL"One of:CATEGORY_UNSPECIFIEDCOVERPROFILELOGOEXTERIORINTERIORPRODUCTAT_WORKFOOD_AND_DRINKMENUCOMMON_AREAROOMSTEAMSADDITIONAL -
descriptionstring max length 2,000
Example
curl -X POST "https://api.siaran.my/api/v1/misc/google-business/media" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"uploadId": "UPLOAD_ID"
}' Response 200
7 top-level fields
-
namestring -
googleUrlstring uri -
mediaFormatstringOne of:PHOTOVIDEO -
sourceUrlstring uri -
thumbnailUrlstring uri -
locationAssociationobject2 fields
-
categorystringOne of:CATEGORY_UNSPECIFIEDCOVERPROFILELOGOEXTERIORINTERIORPRODUCTAT_WORKFOOD_AND_DRINKMENUCOMMON_AREAROOMSTEAMSADDITIONAL -
priceListItemIdstring
-
-
descriptionstring
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/media List Google Business media items
misc.google_business.listMedia · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
pageSize | query | integer | |
pageToken | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/media?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
3 top-level fields
-
mediaItemsobject[] default []7 fields
-
namestring -
googleUrlstring uri -
mediaFormatstringOne of:PHOTOVIDEO -
sourceUrlstring uri -
thumbnailUrlstring uri -
locationAssociationobject2 fields
-
categorystringOne of:CATEGORY_UNSPECIFIEDCOVERPROFILELOGOEXTERIORINTERIORPRODUCTAT_WORKFOOD_AND_DRINKMENUCOMMON_AREAROOMSTEAMSADDITIONAL -
priceListItemIdstring
-
-
descriptionstring
-
-
nextPageTokenstring -
totalMediaItemCountnumber
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/media Delete Google Business media item
misc.google_business.deleteMedia · requires x-api-key
Request body application/json
-
teamIdstring required -
mediaNamestring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/media" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"mediaName": "Example"
}' Response 200
1 top-level fields
-
successboolean required
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/post Delete a Google Business post
misc.google_business.deletePost · requires x-api-key
Request body application/json
-
teamIdstring required -
postIdstring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/post" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"postId": "POST_ID"
}' Response 200
Same fields as the response of Delete Google Business media item.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location Get Google Business location profile
misc.google_business.getLocation · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
fields | query | string[] | nullable |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
1 top-level fields
-
namestring
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location Update Google Business location profile fields
misc.google_business.updateLocation · requires x-api-key
Request body application/json
-
teamIdstring required -
validateOnlyboolean -
titlestring nullable max length 255 -
profileobject nullable1 field
-
descriptionstring max length 1,500
-
-
websiteUristring nullable uri -
phoneNumbersobject nullable2 fields
-
primaryPhonestring -
additionalPhonesstring[]
-
-
categoriesobject nullable2 fields
-
primaryCategoryobject1 field
-
namestring
-
-
additionalCategoriesobject[]1 field
-
namestring
-
-
-
storefrontAddressobject nullable6 fields
-
regionCodestring -
languageCodestring -
postalCodestring -
administrativeAreastring -
localitystring -
addressLinesstring[]
-
-
regularHoursobject nullable1 field
-
periodsobject[]4 fields
-
openDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
-
-
specialHoursobject nullable1 field
-
specialHourPeriodsobject[]5 fields
-
startDateobject3 fields
-
yearinteger -
monthinteger ≥ 1≤ 12 -
dayinteger ≥ 1≤ 31
-
-
endDateobject3 fields
-
yearinteger -
monthinteger ≥ 1≤ 12 -
dayinteger ≥ 1≤ 31
-
-
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closedboolean
-
-
-
moreHoursobject[] nullable2 fields
-
hoursTypeIdstring -
periodsobject[]4 fields
-
openDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
-
-
openInfoobject nullable -
serviceAreaobject nullable -
latlngobject nullable2 fields
-
latitudenumber -
longitudenumber
-
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID"
}' Response 200
Same fields as the response of Get Google Business location profile.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/hours Update Google Business regular/special/more hours
misc.google_business.updateHours · requires x-api-key
Request body application/json
-
teamIdstring required -
validateOnlyboolean -
fieldsstring[] required min 1 itemsmax 3 itemsOne of:regularHoursspecialHoursmoreHours -
regularHoursobject nullable1 field
-
periodsobject[]4 fields
-
openDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
-
-
specialHoursobject nullable1 field
-
specialHourPeriodsobject[]5 fields
-
startDateobject3 fields
-
yearinteger -
monthinteger ≥ 1≤ 12 -
dayinteger ≥ 1≤ 31
-
-
endDateobject3 fields
-
yearinteger -
monthinteger ≥ 1≤ 12 -
dayinteger ≥ 1≤ 31
-
-
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closedboolean
-
-
-
moreHoursobject[] nullable2 fields
-
hoursTypeIdstring -
periodsobject[]4 fields
-
openDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
openTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
closeDaystringOne of:MONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAYSUNDAY -
closeTimeobject | stringOne of 2 shapes
Variant 1
-
hoursinteger ≥ 0≤ 23 -
minutesinteger ≥ 0≤ 59 -
secondsinteger ≥ 0≤ 59 -
nanosinteger ≥ 0≤ 999999999
string
-
-
-
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/hours" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"fields": [
"regularHours"
]
}' Response 200
Same fields as the response of Get Google Business location profile.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/attributes Get Google Business location attributes
misc.google_business.getAttributes · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/attributes?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
namestring -
attributesobject[] default []4 fields
-
namestring required -
valuesany[] nullable -
repeatedEnumValueobject1 field
-
setValuesstring[]
-
-
uriValuesobject[]1 field
-
uristring required
-
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/attributes Update Google Business location attributes
misc.google_business.updateAttributes · requires x-api-key
Request body application/json
-
teamIdstring required -
attributeMaskstring -
attributesobject[] nullable4 fields
-
namestring required -
valuesany[] nullable -
repeatedEnumValueobject1 field
-
setValuesstring[]
-
-
uriValuesobject[]1 field
-
uristring required min length 1
-
-
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/attributes" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID"
}' Response 200
Same fields as the response of Get Google Business location attributes.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/attributes/available List available Google Business attributes
misc.google_business.listAvailableAttributes · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
languageCode | query | string | |
regionCode | query | string | |
pageSize | query | integer | |
pageToken | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/attributes/available?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
3 top-level fields
-
attributesobject[] default [] -
nextPageTokenstring -
lookupobject4 fields
-
bystring requiredOne of:categorylocation -
categoryNamestring -
regionCodestring -
languageCodestring
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/search-keywords List the search terms customers used to find the location
misc.google_business.listSearchKeywords · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
startMonth required | query | string | |
endMonth required | query | string | |
pageSize | query | integer | |
pageToken | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/search-keywords?teamId=TEAM_ID&startMonth=string&endMonth=string" \
-H "x-api-key: $SIAR_API_KEY" Response 200
4 top-level fields
-
locationstring required -
rangeobject required2 fields
-
startMonthstring required pattern ^\d{4}-(0[1-9]|1[0-2])$ -
endMonthstring required pattern ^\d{4}-(0[1-9]|1[0-2])$
-
-
searchKeywordsobject[] default []3 fields
-
searchKeywordstring required -
valuenumber nullable -
thresholdnumber nullable
-
-
nextPageTokenstring
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/categories/available List available Google Business categories
misc.google_business.listCategories · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
regionCode required | query | string | |
languageCode required | query | string | |
names | query | string[] | |
filter | query | string | |
pageSize | query | integer | default 50 |
pageToken | query | string | |
view | query | string | One of CATEGORY_VIEW_UNSPECIFIED, BASIC, FULL · default "BASIC" |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/categories/available?teamId=TEAM_ID®ionCode=string&languageCode=string" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
categoriesobject[] default [] -
nextPageTokenstring
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/service-list Get Google Business service list
misc.google_business.getServiceList · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/service-list?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
namestring -
serviceItemsobject[]
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/service-list Update Google Business service list
misc.google_business.updateServiceList · requires x-api-key
Request body application/json
-
teamIdstring required -
fieldsstring[] required min 1 itemsmax 1 itemsOne of:serviceItems -
serviceItemsobject[] nullable
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/service-list" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"fields": [
"serviceItems"
]
}' Response 200
Same fields as the response of Get Google Business service list.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/food-menus Get Google Business food menus
misc.google_business.getFoodMenus · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
fields | query | string[] | nullable |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/food-menus?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
namestring -
menusobject[]
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/food-menus Update Google Business food menus
misc.google_business.updateFoodMenus · requires x-api-key
Request body application/json
-
teamIdstring required -
fieldsstring[] required min 1 itemsmax 1 itemsOne of:menus -
menusobject[] nullable
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/food-menus" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"fields": [
"menus"
]
}' Response 200
Same fields as the response of Get Google Business food menus.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/place-action-links List Google Business place action links
misc.google_business.listPlaceActionLinks · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
pageSize | query | integer | |
pageToken | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/location/place-action-links?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
2 top-level fields
-
placeActionLinksobject[] default []4 fields
-
namestring -
uristring uri -
placeActionTypestringOne of:APPOINTMENTONLINE_APPOINTMENTDINING_RESERVATIONFOOD_ORDERINGFOOD_DELIVERYFOOD_TAKEOUTSHOP_ONLINE -
isPreferredboolean
-
-
nextPageTokenstring
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/place-action-links Create Google Business place action link
misc.google_business.createPlaceActionLink · requires x-api-key
Request body application/json
-
teamIdstring required -
placeActionLinkobject required4 fields
-
namestring -
uristring uri -
placeActionTypestringOne of:APPOINTMENTONLINE_APPOINTMENTDINING_RESERVATIONFOOD_ORDERINGFOOD_DELIVERYFOOD_TAKEOUTSHOP_ONLINE -
isPreferredboolean
-
Example
curl -X POST "https://api.siaran.my/api/v1/misc/google-business/location/place-action-links" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"placeActionLink": {}
}' Response 200
4 top-level fields
-
namestring -
uristring uri -
placeActionTypestringOne of:APPOINTMENTONLINE_APPOINTMENTDINING_RESERVATIONFOOD_ORDERINGFOOD_DELIVERYFOOD_TAKEOUTSHOP_ONLINE -
isPreferredboolean
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/place-action-links Update Google Business place action link
misc.google_business.updatePlaceActionLink · requires x-api-key
Request body application/json
-
teamIdstring required -
placeActionLinkobject required4 fields
-
namestring -
uristring uri -
placeActionTypestringOne of:APPOINTMENTONLINE_APPOINTMENTDINING_RESERVATIONFOOD_ORDERINGFOOD_DELIVERYFOOD_TAKEOUTSHOP_ONLINE -
isPreferredboolean
-
-
namestring required -
fieldsstring[] required min 1 itemsmax 3 itemsOne of:uriplaceActionTypeisPreferred
Example
curl -X PATCH "https://api.siaran.my/api/v1/misc/google-business/location/place-action-links" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"placeActionLink": {},
"name": "Example",
"fields": [
"uri"
]
}' Response 200
Same fields as the response of Create Google Business place action link.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/location/place-action-links Delete Google Business place action link
misc.google_business.deletePlaceActionLink · requires x-api-key
Request body application/json
-
teamIdstring required -
namestring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/location/place-action-links" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"name": "Example"
}' Response 200
Same fields as the response of Delete Google Business media item.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/import Start a new Google Reviews import
misc.google_business.importReviews · requires x-api-key
Request body application/json
-
teamIdstring required -
countinteger required ≥ 1
Example
curl -X POST "https://api.siaran.my/api/v1/misc/google-business/reviews/import" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"count": 1
}' Response 201
13 top-level fields
-
idstring required -
teamIdstring required -
socialAccountIdstring required -
requestedCountnumber required -
statusstring requiredOne of:PENDINGFETCHING_REVIEWSCOMPLETEDFAILEDRATE_LIMITED -
reviewsImportednumber required -
errorstring nullable -
rateLimitResetAtstring nullable date-time -
startedAtstring nullable date-time -
completedAtstring nullable date-time -
createdAtstring required nullable date-time -
updatedAtstring required nullable date-time -
deletedAtstring nullable date-time
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 409 Conflict · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/import Get review import status list
misc.google_business.getReviewImportStatus · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/import?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
1 top-level fields
-
importsobject[] required13 fields
-
idstring required -
teamIdstring required -
socialAccountIdstring required -
requestedCountnumber required -
statusstring requiredOne of:PENDINGFETCHING_REVIEWSCOMPLETEDFAILEDRATE_LIMITED -
reviewsImportednumber required -
errorstring nullable -
rateLimitResetAtstring nullable date-time -
startedAtstring nullable date-time -
completedAtstring nullable date-time -
createdAtstring required nullable date-time -
updatedAtstring required nullable date-time -
deletedAtstring nullable date-time
-
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/import/{importId} Get review import by ID
misc.google_business.getReviewImportById · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
importId required | path | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/import/IMPORTID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
Same fields as the response of Start a new Google Reviews import.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews List imported Google Reviews
misc.google_business.getReviews · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
teamId required | query | string | |
limit | query | number | default 50 |
offset | query | number | default 0 · nullable |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
4 top-level fields
-
reviewsobject[] required19 fields
-
idstring required -
socialAccountIdstring required -
teamIdstring required -
externalReviewIdstring required -
reviewerDisplayNamestring nullable -
reviewerProfilePhotoUrlstring nullable -
starRatingstring nullableOne of:ONETWOTHREEFOURFIVE -
commentstring nullable -
reviewReplyCommentstring nullable -
reviewReplyUpdatedAtstring nullable date-time -
reviewReplyStatestring nullableOne of:REVIEW_REPLY_STATE_UNSPECIFIEDPENDINGREJECTEDAPPROVED -
reviewReplyPolicyViolationstring nullable -
reviewReplyUrlstring nullable -
createTimestring nullable date-time -
updateTimestring nullable date-time -
importedAtstring nullable date-time -
createdAtstring required nullable date-time -
updatedAtstring required nullable date-time -
deletedAtstring nullable date-time
-
-
totalnumber required -
limitnumber required -
remainingCapacitynumber required
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/{reviewId} Get a single imported Google Review
misc.google_business.getReviewById · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
reviewId required | path | string | |
teamId required | query | string |
Example
curl -X GET "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID?teamId=TEAM_ID" \
-H "x-api-key: $SIAR_API_KEY" Response 200
19 top-level fields
-
idstring required -
socialAccountIdstring required -
teamIdstring required -
externalReviewIdstring required -
reviewerDisplayNamestring nullable -
reviewerProfilePhotoUrlstring nullable -
starRatingstring nullableOne of:ONETWOTHREEFOURFIVE -
commentstring nullable -
reviewReplyCommentstring nullable -
reviewReplyUpdatedAtstring nullable date-time -
reviewReplyStatestring nullableOne of:REVIEW_REPLY_STATE_UNSPECIFIEDPENDINGREJECTEDAPPROVED -
reviewReplyPolicyViolationstring nullable -
reviewReplyUrlstring nullable -
createTimestring nullable date-time -
updateTimestring nullable date-time -
importedAtstring nullable date-time -
createdAtstring required nullable date-time -
updatedAtstring required nullable date-time -
deletedAtstring nullable date-time
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/{reviewId}/reply Reply to a Google Review (creates or updates the owner reply)
misc.google_business.replyToReview · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
reviewId required | path | string |
Request body application/json
-
teamIdstring required -
commentstring required min length 1max length 4,096
Example
curl -X PUT "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID/reply" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"comment": "string"
}' Response 200
Same fields as the response of Get a single imported Google Review.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/google-business/reviews/{reviewId}/reply Delete the owner reply from a Google Review
misc.google_business.deleteReviewReply · requires x-api-key
Parameters
| Name | In | Type | Notes |
|---|---|---|---|
reviewId required | path | string |
Request body application/json
-
teamIdstring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/google-business/reviews/REVIEWID/reply" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID"
}' Response 200
Same fields as the response of Get a single imported Google Review.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error