Reviews by publisher (account-scoped)
Overview
Returns per-publisher lifetime totals (all-time count + overall rating from the synced pivot, hipages spans all connected sites) plus the selected-period review count and rating. Results are scoped to the authenticated account.
Prerequisites
- A bearer token. Callable with Account tokens.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
POST /api/v1/reports/response/reviews/publisher
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Account tokens.
-
Mounted under the account-side
reports/responsegroup. -
Scope:
store_id→ single store (guarded by an ownership check); else all of the auth user's stores. -
No
account_id/client_*params — for partner-wide scope usepartner/report/review-response/by-publisher.
Rate limit
- No rate limit.
Request body
- Body:
| Field | Type | Required | Description |
|---|---|---|---|
range_start | string | yes | Y-m-d H:i:s |
range_end | string | yes | Y-m-d H:i:s |
store_id | integer | no | belongs to auth company |
{
"range_start": "2024-01-01 00:00:00",
"range_end": "2024-12-31 23:59:59",
"store_id": 1
}Response
id(int) —review_siteidreview_site(string) — display name (maps.google→Google)review_site_logo(string) — S3 logo URLreview_site_color(string|null)total_reviews(int) — lifetime totaloverall_rating(float|null) — count-weighted lifetime ratingperiod_reviews(int) — reviews within the rangeperiod_rating(float|null) — average rating within range
200 OK · 200
200{
"data": [
{
"id": 44,
"review_site": "Google",
"review_site_logo": "https://s3.amazonaws.com/bucket/assets/review-sites/google_ic.png",
"review_site_color": "#4285F4",
"total_reviews": 1320,
"overall_rating": 4.4,
"period_reviews": 28,
"period_rating": 4.7
}
]
}422 Validation error · 422
422{
"message": "The range start does not match the format Y-m-d H:i:s.",
"errors": {
"range_start": ["The range start does not match the format Y-m-d H:i:s."]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
422 | Validation error |
500 | Unexpected server error |
Example request
curl --request POST \
--url "https://production-api.shoutaboutus.com/api/v1/reports/response/reviews/publisher" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{"range_start": "2024-01-01 00:00:00", "range_end": "2024-12-31 23:59:59", "store_id": 1}'Updated 9 days ago
Did this page help you?
