Review-site dropdown
Overview
GET variant of the same route backing the review-site dropdown — returns the selectable review-site catalog (value/label pairs) for an account. The catalog is the union of review sites on the plans assigned to the account's account(s), with hipages pinned first, then Google (44) and Yelp (1). Legacy Google site id 52 is always excluded.
Prerequisites
- A bearer token. Callable with Partner and Account tokens.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/account/reviewsite/list
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Who can call it: Partner and Account tokens.
-
Mounted under the role-agnostic
/account/*prefix (top-level authentication group). -
Target account comes from
company_id(query param here) or falls back to the auth user's ownperson.company_id. -
company_idmust sit inside your own account tree. A Partner (bundle_id=1) may target any company in its tree, while an Account (bundle_id=3) reaches only its own part of the account tree.
Rate limit
- No rate limit.
Query parameters
- Query:
company_id(integer, optional) —nullable; mustexistsin the account'sidand pass an ownership check. Defaults to the auth user'sperson.company_idwhen you omit it. - Query:
except_review_site_id(array, optional) —nullable|arrayof review-site ids to exclude; each element required when the param is present.
Response
data.status(string) — always"success".data.response(array) — list of review sites;[]when no plans/review sites resolve. Each item:value(integer) — review site id.label(string) — review site name; id 44 force-labelled"Google", otherwise the review site'sname.
200 OK · 200
200{
"data": {
"status": "success",
"response": [
{ "value": 44, "label": "Google" },
{ "value": 1, "label": "Yelp" }
]
}
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
422 | The request failed validation — the response names the fields |
500 | Unexpected server error |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/account/reviewsite/list" \
--header 'Authorization: Bearer <bearer-token>' \
--header 'Accept: application/json'Updated 10 days ago
