Docs

List reviews

Preview· P9
GET
/reviews

Returns the published reviews of your organisation's page on Agoo Reviews, newest first, with each one's label (how it was verified) and your reply. Filter by branch, stars, label, date, or reviews without a reply. The reviewer appears as the page shows them, never with a contact detail.

There's no way to hide, edit, reorder or delete a review through the API, as in the Console.

Scope: reviews:read · Plan: Growth, Pro and Enterprise in live mode (Reviews Business); 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

Query Parameters

limit?integer

How many items to return, from 1 to 100.

Range1 <= value <= 100
Default25
cursor?string

The next_cursor from the previous page. Leave it out for the first page.

Lengthlength <= 512
place_id?string

Only this branch's reviews.

Match^rplace_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"rplace_01m6a2b3c4d5e6f7g8h9jkmnpq"
stars?integer

Only reviews with this many stars.

Range1 <= value <= 5
label?string

Only reviews with this label.

Value in"verified_visit""invited""phone_confirmed""email_confirmed"
published_after?string

Only reviews published at or after this time.

Formatdate-time
unanswered?boolean

Only reviews without a reply.

Response Body

A page of reviews.

application/json
  1. response
data*array<>
next_cursor*|

Pass this as cursor to get the next page. null on the last page.

Example"b3BhcXVlLWN1cnNvcg"
has_more*boolean
curl -X GET 'https://api.agoo.ardent.africa/v1/reviews?limit=25'
{  "data": [    {      "id": "review_01m6b3c4d5e6f7g8h9jkmnpqrs",      "object": "review",      "business_id": "string",      "place": {        "id": "rplace_01m6a2b3c4d5e6f7g8h9jkmnpq",        "name": "string",        "town": "string",        "site_id": "string"      },      "status": "published",      "stars": 1,      "title": "string",      "body": "string",      "visit_month": "string",      "language": "string",      "label": "verified_visit",      "proof_seen": true,      "reviewer_name": "string",      "reply": {        "body": "string",        "status": "screening",        "published_at": "2019-08-24T14:15:22Z",        "updated_at": "2019-08-24T14:15:22Z"      },      "url": "http://example.com",      "removal_reason": "string",      "published_at": "2019-08-24T14:15:22Z",      "edited_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "b3BhcXVlLWN1cnNvcg",  "has_more": true}