Skip to main content
GET
/
api
/
v1
/
reviews
/
listing
/
{listingId}
Get reviews for a specific listing
curl --request GET \
  --url https://api.example.com/api/v1/reviews/listing/{listingId} \
  --header 'x-calry-api-key: <api-key>'
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "providerReviewID": "hostify_review_123",
      "providerListingID": "hostify_listing_456",
      "createdAt": "2023-11-15T14:35:00Z",
      "updatedAt": "2023-11-16T09:20:00Z",
      "providerReservationID": "hostify_reservation_789",
      "guest": {
        "fullName": "John Doe",
        "firstName": "John",
        "lastName": "Doe"
      },
      "title": "Amazing stay!",
      "content": "We had a wonderful time at this property. Everything was clean and well-maintained.",
      "feedback": "Host was very responsive and helpful.",
      "rating": 4.8,
      "ratingCategories": {
        "cleanliness": {
          "rating": 5,
          "comment": "Spotless!"
        },
        "communication": {
          "rating": 5,
          "comment": "Very responsive"
        }
      },
      "hostResponse": {
        "content": "Thank you for the wonderful review!",
        "createdAt": "2023-12-01T10:00:00Z"
      },
      "language": "en",
      "providerCreatedAt": "2023-11-15T14:30:00Z",
      "providerUpdatedAt": "2023-11-16T09:15:00Z"
    }
  ],
  "meta": {
    "total": 100,
    "limit": 15,
    "totalPages": 8,
    "current": 2,
    "previous": 1,
    "next": 3
  }
}

Authorizations

x-calry-api-key
string
header
required

Headers

x-calry-workspace-id
string

Optional workspace ID to specify which workspace to operate as. If not provided, the default workspace will be used.

x-calry-tenant-id
string

Optional tenant ID to specify which tenant to operate as. If not provided, the default tenant will be used.

Path Parameters

listingId
string
required

Listing ID from database

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

Query Parameters

limit
number
default:20

Number of reviews per page

Required range: 1 <= x <= 100
Example:

20

page
number
default:1

Page number

Required range: x >= 1
Example:

1

Search term to filter reviews

Example:

"great stay"

Response

Reviews retrieved successfully

data
object[]
required

Array of reviews

meta
object
required

Pagination metadata