v1

latestOpenAPI 3.0.32026-07-2632131.4 MB
Saved Replies

Get saved replies by listing id

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

get/saved-replies/listing/{listingId}

Path parameters

listingIdstring required

Limit results to a specific listing

Query parameters

limitinteger

Pagination limit, max: 100

skipinteger

How many results should be skipped to get to the current page

accountIdstring

Limit results to a specific account

returnDefaultboolean

To get Guesty defaults SRs

fieldsstring

Selection of fields, separated by space. See response schema to get list of fields

sortstring

Field to sort by. Prepend - for DESC.

qstring

Search query string. Searches in question and folder. Search is case-insensitive.

Response

OK

questionstring
answerstring
applyWhenHasBookingboolean
applyWhenNoBookingboolean
isAbstractboolean
type'user' | 'guest' | 'contact' | 'review'
language'en' | 'fr' | 'es' | 'it' | 'ru' | 'ja' | 'zh'

Language of the saved reply.

excludeListingIdsstring[]

Exclude saved reply from the specific listings

listingsIdsstring[]

Apply saved reply for the specific listings

folderstring
tagsstring[]
accountIdstring

Unique Id

_idstring

Unique Id

Example response

{
  "question": "TV",
  "answer": "Hi {{user}},\n\nWe have a 42\" Samsung LED in the living room.",
  "language": "en",
  "excludeListingIds": [
    "563e0b6a08a2710e00057b82"
  ],
  "listingsIds": [
    "563e0b6a08a2710e00057b82"
  ],
  "folder": "City",
  "filters": {
    "_id": "563e0b6a08a2710e00057b82"
  },
  "accountId": "563e0b6a08a2710e00057b82",
  "_id": "563e0b6a08a2710e00057b82"
}