Search for reviews
GET/api/v2/reviews
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).
Request
Query Parameters
keywords=bonjour
returns all reviews containing the keywordbonjour
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.
Possible values: >= 1
Default value: 1
Page of items to fetch
Possible values: >= 1
Number of items per page.
Filter by business
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.
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 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:
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.
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
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
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
Possible values: >= 1
Default value: 1
Current page
Possible values: >= 1
Default value: 1
Max page based on current per_page
value and count
Default value: 0
Number of items per page.
items
object[]
required
Organisation id
Business id
Possible values: [google_my_business
, facebook
, tripadvisor
]
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
Possible values: <= 5
Review rating (can be null)
Review recommended
Review title
Review body content
Possible values: [treated
, not_treated
, deleted
]
Reply state
Link to review on publisher platform
comments
object[]
Comment id on publisher
The author name of the review.
Note: Replies don't have an author.
Comment update date
Comment creation date
Comment body 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
Parent comment id
{
"page": 1,
"max_page": 1,
"count": 0,
"items": [
{
"id": 0,
"key": "string",
"org_id": 42,
"business_id": "string",
"partner": "google_my_business",
"partner_id": "string",
"author_name": "Castorche",
"date": "2024-07-29T15:51:28.071Z",
"update_date": "2024-07-29T15:51:28.071Z",
"delete_date": "2024-07-29T15:51:28.071Z",
"rating": 3,
"recommended": true,
"title": "string",
"content": "string",
"state": "treated",
"link": "string",
"comments": [
{
"id": 0,
"partner_id": "string",
"author_name": "Castorche",
"date": "2024-07-29T15:51:28.071Z",
"created": "2024-07-29T15:51:28.071Z",
"content": "Merci ❤️",
"can_edit": true,
"review_id": 0,
"parent_id": 0
}
]
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
HTTP status code
Error message
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
Possible values: non-empty
Path to the property with the error
constraints
object
required
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
HTTP status code
Error message
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}