Reviews
Overview
This resource represents guests' (travelers') Reviews for the host for a given Booking.
info
Restrictions
- A Booking can have multiple Reviews – but no more than one per
source
. - Each Review can have at most one Review Reply.
Parameters
- OAuth Scopes:
- public
- reviews_write
Name | Type | Read/Write | Description |
---|---|---|---|
account | Integer | Read | Account's ID related to the Review |
rental | Integer | Read | Rental's ID related to the Review |
source | Integer | Read | Source's ID related to the Review |
reply | UUID | Read | Reply's (ReviewReply)'s ID related to the Review |
booking | Integer | Read | Booking's ID related to the Review |
id | Integer | Read | Review's ID. |
title | Text | Read | Title/Summary of the review. |
comment | Text | Read | Comment from traveler (guest). |
private_comment | Text | Read | Private comment from the traveler (guest) (not meant to be exposed publicly). |
rating | Decimal | Read | Overall rating of a stay |
rating_accurate | Decimal | Read | Non-rounded rating. |
name | Text | Read | Reviewer's name, cropped to show only the initial of the last name. |
country_code | Text | Read | Reviewer's country code. |
shareable | Boolean | Read | Whether Review is permitted for public use. |
criteria | Object | Read | Host ratings in specific criteria. |
criteria.cleanliness | Object | Read | Details of given criterion. |
criteria.cleanliness.rating | Decimal | Read | Was the cleanliness up to the standards? |
criteria.cleanliness.comment | Text | Read | Additional feedback for a given criterion. |
criteria.communication | Object | Read | Details of given criterion. |
criteria.communication.rating | Decimal | Read | How fast/easy the communication with the host was. |
criteria.communication.comment | Text | Read | Additional feedback for a given criterion. |
criteria.checkin | Object | Read | Details of given criterion. |
criteria.checkin.rating | Decimal | Read | How smooth was the checkin process? |
criteria.checkin.comment | Text | Read | Additional feedback for a given criterion. |
criteria.location | Object | Read | Details of given criterion. |
criteria.location.rating | Decimal | Read | Was the guest aware of any location dependent factors that could affect the stay (such as noise, safety, transportation etc.)? |
criteria.location.comment | Text | Read | Additional feedback for a given criterion. |
criteria.facilities | Object | Read | Details of given criterion. |
criteria.facilities.rating | Decimal | Read | Were facilities working and matching description? |
criteria.facilities.comment | Text | Read | Additional feedback for a given criterion. |
criteria.comfort | Object | Read | Details of given criterion. |
criteria.comfort.rating | Decimal | Read | Was the property warm enough, with enough lights. Were the beds and/or sofa comfy? |
criteria.comfort.comment | Text | Read | Additional feedback for a given criterion. |
criteria.staff | Object | Read | Details of given criterion. |
criteria.staff.rating | Decimal | Read | Was the staff friendly, attentive and respectful? |
criteria.staff.comment | Text | Read | Additional feedback for a given criterion. |
criteria.value_for_money | Object | Read | Details of given criterion. |
criteria.value_for_money.rating | Decimal | Read | Was it worth the price? |
criteria.value_for_money.comment | Text | Read | Additional feedback for a given criterion. |
criteria.accuracy | Object | Read | Details of given criterion. |
criteria.accuracy.rating | Decimal | Read | Was the property accurately represented on a website? |
criteria.accuracy.comment | Text | Read | Additional feedback for a given criterion. |
criteria.property_condition | Object | Read | Details of given criterion. |
criteria.property_condition.rating | Decimal | Read | What was the condition of the property? |
criteria.property_condition.comment | Text | Read | Additional feedback for a given criterion. |
criteria.eco_friendliness | Object | Read | Details of given criterion. |
criteria.eco_friendliness.rating | Decimal | Read | How eco-friendly was the property? |
criteria.eco_friendliness.comment | Text | Read | Additional feedback for a given criterion. |
created_at | Time | Read | Review's create time. |
updated_at | Time | Read | Review's update time. |
submitted_at | Time | Read | Review's submission time. When not specified, defaults to creation time. |
dismissed_by | String | Read | Whom the Review was dismissed by |
dismissal_reason | String | Read | The Reason why the Review was dismissed |
dismissed_at | Time | Read | When the Review was dismissed |
Name | Type | Read/Write | Description | Constraints |
---|---|---|---|---|
account | Integer | Read | Account's ID related to the Review | |
rental | Integer | Read | Rental's ID related to the Review | |
source | Integer | Read | Source's ID related to the Review | |
reply | UUID | Read | Reply's (ReviewReply)'s ID related to the Review | |
booking | Integer | Read | Booking's ID related to the Review | |
id | Integer | Read | Review's ID. | |
review_id | Integer | Write | Review's ID for dismiss action | Required for dismiss action only |
source_id | Integer | Write | Source's ID related to the Review | |
title | Text | Read/Write | Title/Summary of the review. | |
comment | Text | Read/Write | Comment from traveler (guest). | Required |
private_comment | Text | Read/Write | Private comment from the traveler (guest) (not meant to be exposed publicly). | |
rating | Decimal | Read/Write | Overall rating of a stay | Required, must be between 1 and 5 |
rating_accurate | Decimal | Read | Non-rounded rating. | |
name | Text | Read | Reviewer's name, cropped to show only the initial of the last name. | |
country_code | Text | Read | Reviewer's country code. | |
shareable | Boolean | Read/Write | Whether Review is permitted for public use. | |
criteria | Object | Read/Write | Host ratings in specific criteria. | |
criteria.cleanliness | Object | Read/Write | Details of given criterion. | |
criteria.cleanliness.rating | Decimal | Read/Write | Was the cleanliness up to the standards? | Required only when sending parent node, must be between 1 and 5 |
criteria.cleanliness.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.communication | Object | Read/Write | Details of given criterion. | |
criteria.communication.rating | Decimal | Read/Write | How fast/easy the communication with the host was. | Required only when sending parent node, must be between 1 and 5 |
criteria.communication.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.checkin | Object | Read/Write | Details of given criterion. | |
criteria.checkin.rating | Decimal | Read/Write | How smooth was the checkin process? | Required only when sending parent node, must be between 1 and 5 |
criteria.checkin.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.location | Object | Read/Write | Details of given criterion. | |
criteria.location.rating | Decimal | Read/Write | Was the guest aware of any location dependent factors that could affect the stay (such as noise, safety, transportation etc.)? | Required only when sending parent node, must be between 1 and 5 |
criteria.location.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.facilities | Object | Read/Write | Details of given criterion. | |
criteria.facilities.rating | Decimal | Read/Write | Were facilities working and matching description? | Required only when sending parent node, must be between 1 and 5 |
criteria.facilities.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.comfort | Object | Read/Write | Details of given criterion. | |
criteria.comfort.rating | Decimal | Read/Write | Was the property warm enough, with enough lights. Were the beds and/or sofa comfy? | Required only when sending parent node, must be between 1 and 5 |
criteria.comfort.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.staff | Object | Read/Write | Details of given criterion. | |
criteria.staff.rating | Decimal | Read/Write | Was the staff friendly, attentive and respectful? | Required only when sending parent node, must be between 1 and 5 |
criteria.staff.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.value_for_money | Object | Read/Write | Details of given criterion. | |
criteria.value_for_money.rating | Decimal | Read/Write | Was it worth the price? | Required only when sending parent node, must be between 1 and 5 |
criteria.value_for_money.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.accuracy | Object | Read/Write | Details of given criterion. | |
criteria.accuracy.rating | Decimal | Read/Write | Was the property accurately represented on a website? | Required only when sending parent node, must be between 1 and 5 |
criteria.accuracy.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.property_condition | Object | Read/Write | Details of given criterion. | |
criteria.property_condition.rating | Decimal | Read/Write | What was the condition of the property? | Required only when sending parent node, must be between 1 and 5 |
criteria.property_condition.comment | Text | Read/Write | Additional feedback for a given criterion. | |
criteria.eco_friendliness | Object | Read/Write | Details of given criterion. | |
criteria.eco_friendliness.rating | Decimal | Read/Write | How eco-friendly was the property? | Required only when sending parent node, must be between 1 and 5 |
criteria.eco_friendliness.comment | Text | Read/Write | Additional feedback for a given criterion. | |
created_at | Time | Read | Review's create time. | |
updated_at | Time | Read | Review's update time. | |
submitted_at | Time | Read/Write | Review's submission time. | Default's to current timestamp |
dismissed_by | String | Read | Whom the Review was dismissed by | |
dismissal_reason | String | Read | The Reason why the Review was dismissed | |
dismissed_at | Time | Read | When the Review was dismissed |
List reviews
List all guest reviews (from guest to host) for a given account(s).
GET /reviews
Response
- OAuth Scopes:
- public
response.json
{
"links": {
"reviews.source": "https://www.bookingsync.com/api/v3/sources/{reviews.source}",
"reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{reviews.reply}",
"reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{reviews.booking}",
"reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{reviews.rental}",
"reviews.account": "https://www.bookingsync.com/api/v3/accounts/{reviews.account}"
},
"reviews": [
{
"links": {
"account": 111,
"booking": 222,
"rental": 333,
"reply": null,
"source": 444
},
"id": 555,
"rating": 5,
"comment": "Amazing stay! The property was exactly as described and the host was very helpful.",
"name": "John D.",
"title": "Fantastic Experience",
"country_code": "US",
"created_at": "2023-12-01T10:00:00Z",
"updated_at": "2023-12-01T10:00:00Z",
"rating_accurate": "4.8",
"shareable": true,
"private_comment": "The WiFi was a bit slow but otherwise perfect",
"submitted_at": "2023-12-01T10:00:00Z",
"dismissed_at": null,
"dismissed_by": null,
"dismissal_reason": null,
"criteria": {
"cleanliness": {
"rating": "4.5",
"comment": "Very clean overall"
},
"checkin": {
"rating": "5.0",
"comment": "Smooth check-in process"
},
"communication": {
"rating": "5.0",
"comment": "Host responded quickly"
},
"location": {
"rating": "4.0",
"comment": "Great location, close to everything"
},
"facilities": {
"rating": "4.5",
"comment": "All amenities worked perfectly"
},
"comfort": {
"rating": "5.0",
"comment": "Very comfortable bed and furniture"
},
"staff": null,
"value_for_money": {
"rating": "4.0",
"comment": "Good value for the price"
},
"accuracy": {
"rating": "5.0",
"comment": "Exactly as described in the listing"
},
"property_condition": {
"rating": "4.5",
"comment": "Property was well-maintained"
},
"eco_friendliness": {
"rating": "4.0",
"comment": "Good recycling options available"
}
}
}
],
"meta": {}
}
Get a single review
Returns a single review identified by ID.
GET /reviews/:review_id
Response
- OAuth Scopes:
- public
response.json
{
"links": {
"reviews.source": "https://www.bookingsync.com/api/v3/sources/{reviews.source}",
"reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{reviews.reply}",
"reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{reviews.booking}",
"reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{reviews.rental}",
"reviews.account": "https://www.bookingsync.com/api/v3/accounts/{reviews.account}"
},
"reviews": [
{
"links": {
"account": 111,
"booking": 222,
"rental": 333,
"reply": null,
"source": 444
},
"id": 555,
"rating": 5,
"comment": "Amazing stay! The property was exactly as described and the host was very helpful.",
"name": "John D.",
"title": "Fantastic Experience",
"country_code": "US",
"created_at": "2023-12-01T10:00:00Z",
"updated_at": "2023-12-01T10:00:00Z",
"rating_accurate": "4.8",
"shareable": true,
"private_comment": "The WiFi was a bit slow but otherwise perfect",
"submitted_at": "2023-12-01T10:00:00Z",
"dismissed_at": null,
"dismissed_by": null,
"dismissal_reason": null,
"criteria": {
"cleanliness": {
"rating": "4.5",
"comment": "Very clean overall"
},
"checkin": {
"rating": "5.0",
"comment": "Smooth check-in process"
},
"communication": {
"rating": "5.0",
"comment": "Host responded quickly"
},
"location": {
"rating": "4.0",
"comment": "Great location, close to everything"
},
"facilities": {
"rating": "4.5",
"comment": "All amenities worked perfectly"
},
"comfort": {
"rating": "5.0",
"comment": "Very comfortable bed and furniture"
},
"staff": null,
"value_for_money": {
"rating": "4.0",
"comment": "Good value for the price"
},
"accuracy": {
"rating": "5.0",
"comment": "Exactly as described in the listing"
},
"property_condition": {
"rating": "4.5",
"comment": "Property was well-maintained"
},
"eco_friendliness": {
"rating": "4.0",
"comment": "Good recycling options available"
}
}
}
],
"meta": {}
}
Create a new review
Creates a review for given booking.
POST /bookings/:booking_id/reviews
Request
- OAuth Scopes:
- reviews_write
request.json
{
"reviews": [
{
"comment": "Amazing stay! The property was exactly as described and the host was very helpful.",
"private_comment": "The WiFi was a bit slow but otherwise perfect",
"title": "Fantastic Experience",
"submitted_at": "2023-12-01T10:00:00Z",
"rating": 4.8,
"shareable": true,
"source_id": 111,
"criteria": {
"cleanliness": {
"rating": "4.5",
"comment": "Very clean overall"
},
"communication": {
"rating": "5.0",
"comment": "Host responded quickly"
},
"checkin": {
"rating": "5.0",
"comment": "Smooth check-in process"
},
"value_for_money": {
"rating": "4.0",
"comment": "Good value for the price"
},
"accuracy": {
"rating": "5.0",
"comment": "Exactly as described in the listing"
},
"property_condition": {
"rating": "4.5",
"comment": "Property was well-maintained"
}
}
}
]
}
response.json
{
"links": {
"reviews.source": "https://www.bookingsync.com/api/v3/sources/{reviews.source}",
"reviews.reply": "https://www.bookingsync.com/api/v3/review_replies/{reviews.reply}",
"reviews.booking": "https://www.bookingsync.com/api/v3/bookings/{reviews.booking}",
"reviews.rental": "https://www.bookingsync.com/api/v3/rentals/{reviews.rental}",
"reviews.account": "https://www.bookingsync.com/api/v3/accounts/{reviews.account}"
},
"reviews": [
{
"links": {
"account": 111,
"booking": 222,
"rental": 333,
"reply": null,
"source": 444
},
"id": 555,
"rating": 5,
"comment": "Amazing stay! The property was exactly as described and the host was very helpful.",
"name": "John D.",
"title": "Fantastic Experience",
"country_code": "US",
"created_at": "2023-12-01T10:00:00Z",
"updated_at": "2023-12-01T10:00:00Z",
"rating_accurate": "4.8",
"shareable": true,
"private_comment": "The WiFi was a bit slow but otherwise perfect",
"submitted_at": "2023-12-01T10:00:00Z",
"dismissed_at": null,
"dismissed_by": null,
"dismissal_reason": null,
"criteria": {
"cleanliness": {
"rating": "4.5",
"comment": "Very clean overall"
},
"checkin": {
"rating": "5.0",
"comment": "Smooth check-in process"
},
"communication": {
"rating": "5.0",
"comment": "Host responded quickly"
},
"location": {
"rating": "4.0",
"comment": "Great location, close to everything"
},
"facilities": {
"rating": "4.5",
"comment": "All amenities worked perfectly"
},
"comfort": {
"rating": "5.0",
"comment": "Very comfortable bed and furniture"
},
"staff": null,
"value_for_money": {
"rating": "4.0",
"comment": "Good value for the price"
},
"accuracy": {
"rating": "5.0",
"comment": "Exactly as described in the listing"
},
"property_condition": {
"rating": "4.5",
"comment": "Property was well-maintained"
},
"eco_friendliness": {
"rating": "4.0",
"comment": "Good recycling options available"
}
}
}
],
"meta": {}
}