Write a guest message in one language, replacing the built-in words
put/lodging/message-templates
Write a guest message in one language, replacing the built-in words; braces such as {name} and {checkIn} are filled from the stay.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
bookings:admin- Sdk
bookings.messageTemplate.save- Cli
bookings message template save
Request bodyapplication/json, required
- propertyIdstring (uuid)required
- kindstringrequiredOne of: pre_arrival, welcome, thanks, cancellation, checkin_info, review_request, payment_due.
- localestringrequiredOne of: en, de, es, fr, ja, ar, sv, dv.
- subjectstringrequiredAt most 200 characters.
- bodystringrequiredAt most 6000 characters.
Responses
- 200application/jsonSuccess
- savedtruerequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring