Skip to main content
GET
Count reviews

Authorizations

x-APIKey
string
header
required

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

business__in
string[]

Filter by business ids. Use a comma-separated list to provide multiple ids.

Example:

"a1c9f37b4deca92f83b61d02,9f4e2a8c0d73b154e621bc97,c73b15e9fa42d60b3a8c21ef"

business__notin
string[]

Excludes from the request all businesses provided

Business id

content__isnull
enum<string>

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.

Available options:
true,
false
Example:

false

partner__in
string[]

Filter by publisher

Review partner slug

Example:

"google_my_business,facebook"

gmb_rating__in
enum<number>[]

Filter only by Google ratings

Available options:
1,
2,
3,
4,
5
Example:

"4,5"

tripadvisor_rating__in
enum<number>[]

Filter only by Tripadvisor ratings

Available options:
1,
2,
3,
4,
5
Example:

"1,2"

Filter only by Facebook recommendation

Available options:
true,
false
Example:

false

update_date__gte
string<datetime>

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.

Example:

"2017-08-01T00:00:00"

update_date__lte
string<datetime>

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.

Example:

"2017-08-02T00:00:00"

state__in
enum<string>[]

Filter by state. Comma-separated list of review states.

Reply state

Available options:
treated,
not_treated,
deleted
Example:

"treated,not_treated"

state__notin
enum<string>[]

Exclude reviews in the given states. Comma-separated list of review states.

Reply state

Available options:
treated,
not_treated,
deleted
Example:

"deleted"

tag_label__in
string[]

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)

Example:

"food,drink"

without_tag
boolean

Filter only reviews without tags

Example:

true

keywords
string[]

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.
Example:

"bonjour,good+service"

Response

OK

count
integer
required

Number of reviews matching the filters

Example:

287