Docs

Get review scores

Preview· P9
GET
/review-scores

Returns your page's score and each branch's, exactly as agoo.reviews shows them, with the spread of stars and of labels. A score shows from 3 reviews. What you pay never changes a score, an order or a page.

Scope: reviews:read · Plan: Growth, Pro and Enterprise in live mode; every plan in test mode.

Authorization

headerAuthorizationBearer <token>

Send Authorization: Bearer <token> on every request. The token is one of:

PrefixWhat it isWhere it may be used
agoo_sk_live_Secret key, live modeYour servers only
agoo_sk_test_Secret key, test modeYour servers only
agoo_pk_live_Publishable key, live modeBrowsers and apps: create pre-registrations and bookings, read public booking types (with their intake questions) and their free slots, read the visit types open for pre-registration with their public forms. Never lists people.
agoo_pk_test_Publishable key, test modeAs above, in test mode

Admins create keys in Console → Developers → API keys and choose each key's scopes. A key is shown once. Never put a secret key in a URL, a browser or a mobile app.

Scope: reviews:read

Response Body

The scores.

application/json
  1. response
object*"review_scores"
Value in"review_scores"
business*
score*
published*integer
stars*

Published reviews by stars, 1 to 5.

labels*

Published reviews by label.

places*array<>
curl -X GET 'https://api.agoo.ardent.africa/v1/review-scores'
{  "object": "review_scores",  "business": {    "id": "string",    "name": "string",    "url": "http://example.com",    "status": "notice"  },  "score": {    "score": 0,    "reviews_counted": 0,    "shown": true  },  "published": 0,  "stars": {    "property1": 0,    "property2": 0  },  "labels": {    "property1": 0,    "property2": 0  },  "places": [    {      "id": "rplace_01m6a2b3c4d5e6f7g8h9jkmnpq",      "name": "string",      "town": "string",      "status": "open",      "site_id": "string",      "url": "http://example.com",      "score": 0,      "reviews_counted": 0,      "shown": true    }  ]}