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

OperationMethod and path
Add a media item (photo/video) using uploadId and categoryPOST /api/v1/misc/google-business/media
List Google Business media itemsGET /api/v1/misc/google-business/media
Delete Google Business media itemDELETE /api/v1/misc/google-business/media
Delete a Google Business postDELETE /api/v1/misc/google-business/post
Get Google Business location profileGET /api/v1/misc/google-business/location
Update Google Business location profile fieldsPATCH /api/v1/misc/google-business/location
Update Google Business regular/special/more hoursPATCH /api/v1/misc/google-business/location/hours
Get Google Business location attributesGET /api/v1/misc/google-business/location/attributes
Update Google Business location attributesPATCH /api/v1/misc/google-business/location/attributes
List available Google Business attributesGET /api/v1/misc/google-business/location/attributes/available
List the search terms customers used to find the locationGET /api/v1/misc/google-business/location/search-keywords
List available Google Business categoriesGET /api/v1/misc/google-business/location/categories/available
Get Google Business service listGET /api/v1/misc/google-business/location/service-list
Update Google Business service listPATCH /api/v1/misc/google-business/location/service-list
Get Google Business food menusGET /api/v1/misc/google-business/location/food-menus
Update Google Business food menusPATCH /api/v1/misc/google-business/location/food-menus
List Google Business place action linksGET /api/v1/misc/google-business/location/place-action-links
Create Google Business place action linkPOST /api/v1/misc/google-business/location/place-action-links
Update Google Business place action linkPATCH /api/v1/misc/google-business/location/place-action-links
Delete Google Business place action linkDELETE /api/v1/misc/google-business/location/place-action-links
Start a new Google Reviews importPOST /api/v1/misc/google-business/reviews/import
Get review import status listGET /api/v1/misc/google-business/reviews/import
Get review import by IDGET /api/v1/misc/google-business/reviews/import/{importId}
List imported Google ReviewsGET /api/v1/misc/google-business/reviews
Get a single imported Google ReviewGET /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 ReviewDELETE /api/v1/misc/google-business/reviews/{reviewId}/reply
POST /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

  • teamId string required
  • uploadId string required
  • category string default "ADDITIONAL"
    One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
  • description string 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
  • name string
  • googleUrl string uri
  • mediaFormat string
    One of: PHOTO VIDEO
  • sourceUrl string uri
  • thumbnailUrl string uri
  • locationAssociation object
    2 fields
    • category string
      One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
    • priceListItemId string
  • description string

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

GET /api/v1/misc/google-business/media

List Google Business media items

misc.google_business.listMedia · requires x-api-key

Parameters

NameInTypeNotes
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
  • mediaItems object[] default []
    7 fields
    • name string
    • googleUrl string uri
    • mediaFormat string
      One of: PHOTO VIDEO
    • sourceUrl string uri
    • thumbnailUrl string uri
    • locationAssociation object
      2 fields
      • category string
        One of: CATEGORY_UNSPECIFIED COVER PROFILE LOGO EXTERIOR INTERIOR PRODUCT AT_WORK FOOD_AND_DRINK MENU COMMON_AREA ROOMS TEAMS ADDITIONAL
      • priceListItemId string
    • description string
  • nextPageToken string
  • totalMediaItemCount number

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

DELETE /api/v1/misc/google-business/media

Delete Google Business media item

misc.google_business.deleteMedia · requires x-api-key

Request body application/json

  • teamId string required
  • mediaName string 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
  • success boolean 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

DELETE /api/v1/misc/google-business/post

Delete a Google Business post

misc.google_business.deletePost · requires x-api-key

Request body application/json

  • teamId string required
  • postId string 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

GET /api/v1/misc/google-business/location

Get Google Business location profile

misc.google_business.getLocation · requires x-api-key

Parameters

NameInTypeNotes
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
  • name string

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

PATCH /api/v1/misc/google-business/location

Update Google Business location profile fields

misc.google_business.updateLocation · requires x-api-key

Request body application/json

  • teamId string required
  • validateOnly boolean
  • title string nullable max length 255
  • profile object nullable
    1 field
    • description string max length 1,500
  • websiteUri string nullable uri
  • phoneNumbers object nullable
    2 fields
    • primaryPhone string
    • additionalPhones string[]
  • categories object nullable
    2 fields
    • primaryCategory object
      1 field
      • name string
    • additionalCategories object[]
      1 field
      • name string
  • storefrontAddress object nullable
    6 fields
    • regionCode string
    • languageCode string
    • postalCode string
    • administrativeArea string
    • locality string
    • addressLines string[]
  • regularHours object nullable
    1 field
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • specialHours object nullable
    1 field
    • specialHourPeriods object[]
      5 fields
      • startDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • endDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closed boolean
  • moreHours object[] nullable
    2 fields
    • hoursTypeId string
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • openInfo object nullable
  • serviceArea object nullable
  • latlng object nullable
    2 fields
    • latitude number
    • longitude number

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

PATCH /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

  • teamId string required
  • validateOnly boolean
  • fields string[] required min 1 itemsmax 3 items
    One of: regularHours specialHours moreHours
  • regularHours object nullable
    1 field
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

  • specialHours object nullable
    1 field
    • specialHourPeriods object[]
      5 fields
      • startDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • endDate object
        3 fields
        • year integer
        • month integer ≥ 1≤ 12
        • day integer ≥ 1≤ 31
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closed boolean
  • moreHours object[] nullable
    2 fields
    • hoursTypeId string
    • periods object[]
      4 fields
      • openDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • openTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 0≤ 999999999

        string

      • closeDay string
        One of: MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY SUNDAY
      • closeTime object | string
        One of 2 shapes

        Variant 1

        • hours integer ≥ 0≤ 23
        • minutes integer ≥ 0≤ 59
        • seconds integer ≥ 0≤ 59
        • nanos integer ≥ 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

GET /api/v1/misc/google-business/location/attributes

Get Google Business location attributes

misc.google_business.getAttributes · requires x-api-key

Parameters

NameInTypeNotes
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
  • name string
  • attributes object[] default []
    4 fields
    • name string required
    • values any[] nullable
    • repeatedEnumValue object
      1 field
      • setValues string[]
    • uriValues object[]
      1 field
      • uri string 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

PATCH /api/v1/misc/google-business/location/attributes

Update Google Business location attributes

misc.google_business.updateAttributes · requires x-api-key

Request body application/json

  • teamId string required
  • attributeMask string
  • attributes object[] nullable
    4 fields
    • name string required
    • values any[] nullable
    • repeatedEnumValue object
      1 field
      • setValues string[]
    • uriValues object[]
      1 field
      • uri string 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

GET /api/v1/misc/google-business/location/attributes/available

List available Google Business attributes

misc.google_business.listAvailableAttributes · requires x-api-key

Parameters

NameInTypeNotes
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
  • attributes object[] default []
  • nextPageToken string
  • lookup object
    4 fields
    • by string required
      One of: category location
    • categoryName string
    • regionCode string
    • languageCode string

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

GET /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

NameInTypeNotes
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
  • location string required
  • range object required
    2 fields
    • startMonth string required pattern ^\d{4}-(0[1-9]|1[0-2])$
    • endMonth string required pattern ^\d{4}-(0[1-9]|1[0-2])$
  • searchKeywords object[] default []
    3 fields
    • searchKeyword string required
    • value number nullable
    • threshold number nullable
  • nextPageToken string

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

GET /api/v1/misc/google-business/location/categories/available

List available Google Business categories

misc.google_business.listCategories · requires x-api-key

Parameters

NameInTypeNotes
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&regionCode=string&languageCode=string" \
  -H "x-api-key: $SIAR_API_KEY"

Response 200

2 top-level fields
  • categories object[] default []
  • nextPageToken string

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

GET /api/v1/misc/google-business/location/service-list

Get Google Business service list

misc.google_business.getServiceList · requires x-api-key

Parameters

NameInTypeNotes
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
  • name string
  • serviceItems object[]

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

PATCH /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

  • teamId string required
  • fields string[] required min 1 itemsmax 1 items
    One of: serviceItems
  • serviceItems object[] 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

GET /api/v1/misc/google-business/location/food-menus

Get Google Business food menus

misc.google_business.getFoodMenus · requires x-api-key

Parameters

NameInTypeNotes
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
  • name string
  • menus object[]

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

PATCH /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

  • teamId string required
  • fields string[] required min 1 itemsmax 1 items
    One of: menus
  • menus object[] 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

POST /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

  • teamId string required
  • count integer 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
  • id string required
  • teamId string required
  • socialAccountId string required
  • requestedCount number required
  • status string required
    One of: PENDING FETCHING_REVIEWS COMPLETED FAILED RATE_LIMITED
  • reviewsImported number required
  • error string nullable
  • rateLimitResetAt string nullable date-time
  • startedAt string nullable date-time
  • completedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string 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

GET /api/v1/misc/google-business/reviews/import

Get review import status list

misc.google_business.getReviewImportStatus · requires x-api-key

Parameters

NameInTypeNotes
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
  • imports object[] required
    13 fields
    • id string required
    • teamId string required
    • socialAccountId string required
    • requestedCount number required
    • status string required
      One of: PENDING FETCHING_REVIEWS COMPLETED FAILED RATE_LIMITED
    • reviewsImported number required
    • error string nullable
    • rateLimitResetAt string nullable date-time
    • startedAt string nullable date-time
    • completedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string 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

GET /api/v1/misc/google-business/reviews/import/{importId}

Get review import by ID

misc.google_business.getReviewImportById · requires x-api-key

Parameters

NameInTypeNotes
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

GET /api/v1/misc/google-business/reviews

List imported Google Reviews

misc.google_business.getReviews · requires x-api-key

Parameters

NameInTypeNotes
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
  • reviews object[] required
    19 fields
    • id string required
    • socialAccountId string required
    • teamId string required
    • externalReviewId string required
    • reviewerDisplayName string nullable
    • reviewerProfilePhotoUrl string nullable
    • starRating string nullable
      One of: ONE TWO THREE FOUR FIVE
    • comment string nullable
    • reviewReplyComment string nullable
    • reviewReplyUpdatedAt string nullable date-time
    • reviewReplyState string nullable
      One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
    • reviewReplyPolicyViolation string nullable
    • reviewReplyUrl string nullable
    • createTime string nullable date-time
    • updateTime string nullable date-time
    • importedAt string nullable date-time
    • createdAt string required nullable date-time
    • updatedAt string required nullable date-time
    • deletedAt string nullable date-time
  • total number required
  • limit number required
  • remainingCapacity number 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

GET /api/v1/misc/google-business/reviews/{reviewId}

Get a single imported Google Review

misc.google_business.getReviewById · requires x-api-key

Parameters

NameInTypeNotes
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
  • id string required
  • socialAccountId string required
  • teamId string required
  • externalReviewId string required
  • reviewerDisplayName string nullable
  • reviewerProfilePhotoUrl string nullable
  • starRating string nullable
    One of: ONE TWO THREE FOUR FIVE
  • comment string nullable
  • reviewReplyComment string nullable
  • reviewReplyUpdatedAt string nullable date-time
  • reviewReplyState string nullable
    One of: REVIEW_REPLY_STATE_UNSPECIFIED PENDING REJECTED APPROVED
  • reviewReplyPolicyViolation string nullable
  • reviewReplyUrl string nullable
  • createTime string nullable date-time
  • updateTime string nullable date-time
  • importedAt string nullable date-time
  • createdAt string required nullable date-time
  • updatedAt string required nullable date-time
  • deletedAt string 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

PUT /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

NameInTypeNotes
reviewId required path string

Request body application/json

  • teamId string required
  • comment string 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

DELETE /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

NameInTypeNotes
reviewId required path string

Request body application/json

  • teamId string 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