---
title: "Get saved replies by listing id"
method: GET
path: "/saved-replies/listing/{listingId}"
tags: ["Saved Replies"]
---

# Get saved replies by listing id

`GET /saved-replies/listing/{listingId}`

Returns saved replies filtered by the listing id. By default only ids are returned.

## Path parameters

- `listingId` string, required

## Query parameters

- `limit` integer
- `skip` integer
- `accountId` string
- `returnDefault` boolean
- `fields` string
- `sort` string
- `q` string

## Response `200`

OK

- object
  - `question` string
  - `answer` string
  - `applyWhenHasBooking` boolean
  - `applyWhenNoBooking` boolean
  - `isAbstract` boolean
  - `type` 'user' | 'guest' | 'contact' | 'review'
  - `language` 'en' | 'fr' | 'es' | 'it' | 'ru' | 'ja' | 'zh' — Language of the saved reply.
  - `excludeListingIds` string[] — Exclude saved reply from the specific listings
  - `listingsIds` string[] — Apply saved reply for the specific listings
  - `folder` string
  - `tags` string[]
  - `filters` object — Apply saved reply to listings which match the filters
    - `_id` string — Unique Id
    - `field` string — Subject of the filter, e.g. listing.address.city
    - `operator` string — Enhanced MongoDB comparison operator: $eq, $not, $contains, $notcontains, $gt, $lt, $between
    - `value` string[] — Values to filter by.
  - `accountId` string — Unique Id
  - `_id` string — Unique Id

## Other responses

- `403` — User does not have the permissions to use this endpoint

---

[API](https://skmtc.net/guesty/apis/guesty-open-api.md) · [All operations](https://skmtc.net/guesty/apis/guesty-open-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/guesty/guesty-open-api/versions/7c62644070f2/schema)
