Docs

Get a review

Preview· P9
GET
/reviews/{review_id}

Returns one review of your organisation's page: published, or removed by a moderator (then without its words).

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

Path Parameters

review_id*string

The review's ID.

Match^review_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"review_01m6b3c4d5e6f7g8h9jkmnpqrs"

Response Body

The review.

application/json
  1. response

A review of your organisation's page on Agoo Reviews, as agoo.reviews shows it. label says what Agoo checked about the person behind it: verified_visit (Agoo recorded their visit or booking), invited (your organisation invited them), phone_confirmed or email_confirmed. It never says the review is true. A removed or withdrawn review keeps its ID and status, without its words.

id*ReviewId

A review ID on Agoo Reviews (TypeID with the review prefix).

Match^review_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example"review_01m6b3c4d5e6f7g8h9jkmnpqrs"
object*"review"
Value in"review"
business_id*string

Your page's ID on Agoo Reviews (TypeID with the rbiz prefix).

place*
status*string
Value in"published""removed""withdrawn"
stars?integer
Range1 <= value <= 5
title?string
body?string
visit_month?string

The month of the experience, as YYYY-MM.

language?string
label?string
Value in"verified_visit""invited""phone_confirmed""email_confirmed"
proof_seen?boolean

A moderator saw proof, such as a receipt, after a dispute.

reviewer_name?string

As the page shows it: a display name such as Esi O., or initials where the kind of place asks.

reply?|null
url?string

The branch's page on agoo.reviews.

Formaturi
removal_reason?|

A removed review: the published reason.

published_at*|
Formatdate-time
edited_at?|

When the reviewer last changed it.

Formatdate-time
curl -X GET 'https://api.agoo.ardent.africa/v1/reviews/review_01m6b3c4d5e6f7g8h9jkmnpqrs'
{  "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"}