Templates

Propose the merge fields for a document

Takes a document and returns it with merge fields in place of the parts that belong to one particular tenancy: a name, a rent, a date, an account. Every field is checked against the ones the product can fill, and the answer is compared line by line with what was sent: a proposal that reworded anything is refused whole. Nothing is written to any template.

post/api/v1/templates/fields

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/templates/fields
  • Auth: API key in cookie better-auth.session_token

Request body

markdownstring required

The document, as markdown.

Response

The document with its fields proposed.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.