Search for reviews
GET/api/v2/reviews
Search for reviews
Request
Query Parameters
Possible values: [google_my_business
, facebook
, tripadvisor
]
Filter by publisher
Possible values: [1
, 2
, 3
, 4
, 5
]
Filter only by Google ratings
Possible values: [1
, 2
, 3
, 4
, 5
]
Filter only by Tripadvisor ratings
Filter only by Facebook recommendation
Possible values: [treated
, not_treated
, deleted
]
Filter by state
Possible values: >= 1
The page number you want to request.
The value defaults to 1, when it is not included.
Possible values: >= 1
and <= 100
The maximum number of result items to return in a page.
The value defaults to 500, when it is not included.
Where object is either a dimension or a metric and is used in the request.
At most one in the list. -
before a field to order_by DESC, nothing for ASC
Filter by business ids
Filter by all allowed businesses except the ones given in
Filter by review's content
If set to true
, the endpoint will return all the reviews without content.
Note: This is the content of the review and not the content of the reply.
Filter by update_date
Return all the reviews whose update_date
>= given_date
.
For example : update_date__gte=2019-01-01T00:00:00
will return all reviews from the first January of 2019
until today.
Note : The update dates are stored in UTC.
Filter by update_date
Return all the reviews whose update_date
<= given_date
.
For example : update_date__lte=2020-01-01T00:00:00
will return all reviews from the date of the first review
until the first january of 2020.
Note : The update dates are stored in UTC.
Filter by keywords
Return all the reviews with not-nullable content, that contain the provided list of keywords.
Note: This is the content of the review and not the content of the reply.
The filter accepts both simple and composed words.
To indicate it's a composed keyword, add the +
as separator.
For example:
keywords=bonjour
returns all reviews containing the keyword bonjour
keywords=good+service
returns all reviews containing the
combined keyword good service, without splitting the keyword.
No reviews containing just good or just service will be returned.
keywords=bonjour,good+service
: returns all reviews that contain either just bonjour,
either just good service or both keywords at the same time.
Responses
- 200
- 400
- 401
- 403
- 404
This endpoint lets you search for the reviews of your businesses.
To access the reviews of a business you need to have READ
access on it.
The response is paginated (30 results per page).
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
reviews
object[]
required
List of reviews
Organisation id
Review id
Business id
Possible values: [google_my_business
, facebook
, tripadvisor
]
Publisher label
Review id on publisher
The author name of the review.
Note: Replies don't have an author.
Review update date
Review update date
Review deletion date
Review rating (can be null)
Review recommended (can be null)
Review title
Review body content
Possible values: [treated
, not_treated
, deleted
]
Reply state
Link to review on publisher platform
comments
object[]
Reply to a review
Comment id
Last update date (either on our platform or on Partner platform)
Reply content
If the current user can or cannot edit a reply
Note: This applies on Facebook replies only. A reply left by an external user on Facebook cannot be edited.
Review id
id of the parent comment
Review id on publisher
The author name of the review.
Note: Replies don't have an author.
Review update date
Current page number
Last page number
Number of resources complying with filters
{
"reviews": [
{
"key": "string",
"org_id": 42,
"id": 34,
"business_id": "5409c35a97bbc544d8e26737",
"partner": "google_my_business",
"partner_id": "accounts/114063712393225091258/locations/74805271119400652054",
"author_name": "Castorche",
"date": "2017-08-01T17:15:54.256Z",
"update_date": "2017-08-01T17:15:54.256Z",
"delete_date": "2017-08-01T17:15:54.256Z",
"rating": 3,
"recommended": true,
"title": "string",
"content": "string",
"state": "treated",
"link": "string",
"comments": [
{
"id": 82938,
"created": "2019-09-01T13:12:35.256Z",
"content": "string",
"can_edit": true,
"review_id": 34,
"parent_id": 0,
"partner_id": "accounts/114063712393225091258/locations/74805271119400652054",
"author_name": "Castorche",
"date": "2017-08-01T17:15:54.256Z"
}
]
}
],
"page": 1,
"max_page": 10,
"count": 287
}