---
title: "Changes to Renders a client-message template for a real client so staff can edit it in the composer\nbefore sending (ITE-1171). Values come from the tenant's records — client, and optionally\nthe patient, appointment and estimate, each of which must belong to the client. Returns\nplain text for the channels the template claims, plus every {{Token}} left unfilled.\nArchived templates still render: a draft opened before the archive shouldn't break."
method: POST
path: "/templates/{id}/render"
---

# Changes to Renders a client-message template for a real client so staff can edit it in the composer
before sending (ITE-1171). Values come from the tenant's records — client, and optionally
the patient, appointment and estimate, each of which must belong to the client. Returns
plain text for the channels the template claims, plus every {{Token}} left unfilled.
Archived templates still render: a draft opened before the archive shouldn't break.

`POST /templates/{id}/render`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 1 of 14 revisions.

- **2026-10-28** `099cf36186e0`: 1 info

## Changes

- **2026-10-28** `099cf36186e0`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/templates/:id/render/post.md) - [API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [Page](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/changes/templates/:id/render/post)
