Authorizations
The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey
). An api_key is linked to a user. This user's role will give you different access level to the API features.
Query Parameters
Filter by business ids
Business id
Excludes from the request all businesses provided
Business id
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.
true
, false
false
Filter by publisher
"google_my_business,facebook"
Filter only by Google ratings
"4,5"
Filter only by Tripadvisor ratings
"1,2"
Filter only by Facebook recommendation
false
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.
"2017-08-01T00:00:00"
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.
"2017-08-02T00:00:00"
Filter by state
"treated,not_treated"
Filter by Tag label
Will partially match given labels (ie foo
will match reviews with tag food
)
The label of the tag Must be <= 30 characters and cannot contain a comma (commas will be ignored)
"food,drink"
Filter only reviews without tags
true
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 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.
"bonjour,good+service"
Page number, Starts at 1. From 1 to 100 results per page (see per_page
)
Number of items to return per page. Currently limited to 100.
1 <= x <= 100
A -
sign in front of the value indicates a descending order.
update_date
, -update_date
"update_date"