---
title: "Change the wording of a booking text. Unknown placeholders are refused; the deposit link text needs {pay_link} and the deposit-not-paid text {book_link}. Empty wording or reset: true restores the built-in wording. Needs comms:write or settings:write"
method: PUT
path: "/api/v1/comms/text-templates/{kind}"
---

# Change the wording of a booking text. Unknown placeholders are refused; the deposit link text needs {pay_link} and the deposit-not-paid text {book_link}. Empty wording or reset: true restores the built-in wording. Needs comms:write or settings:write

`PUT /api/v1/comms/text-templates/{kind}`

## Request

- Base URL: `http://127.0.0.1:4310`
- URL: `http://127.0.0.1:4310/api/v1/comms/text-templates/{kind}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `sfb_session`

## Path parameters

- `kind` string, required

## Request body

- object
  - `body` string: The wording with placeholders such as {first_name}, {business}, {service}, {day}, {date}, {time}, {staff}, {ref}, {link}; {pay_link} and {minutes} in the deposit link text; {book_link} in the cancellation and expiry texts. Empty means the built-in wording
  - `reset` boolean: true: use the built-in wording again
  - `expected_version` integer

## Response `200`

OK

- object

## Other responses

- `400`: Validation error
- `401`: Unauthenticated
- `403`: Forbidden
- `404`: Not found
- `409`: Conflict or invalid state

---

[API](https://skmtc.dev/scalingfirm/apis/tsf-booking-api.md) · [All operations](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scalingfirm/apis/tsf-booking-api/revisions/81704199cd37?raw)
