# Legal text template

`GET https://api.tentary.com/v1/legal/templates/{document}`

Source: https://tentary.com/en/help/api/get-legal-template/
Area: Legal texts
MCP tool: `get_legal_template`. Reads only. Changes nothing in the account.

---

The Tentary template of one legal document for the country of the account, filled with the billing address and support email of the account. It changes nothing.

1. Show the account owner the `to_fill` points and ask for the missing data.
2. Save the text with [`PATCH /v1/legal`](https://tentary.com/en/help/api/update-legal-texts/).

Use only real company data, never invented data. The templates are not legal advice.

## Authorization

`Authorization: Bearer <API key>`

A personal API key (tnt_...). Create it in the Tentary app on the page AI & API.

## Path parameters

- `document` (string, required, path): The document (get_legal_texts shows which ones the seller country needs). Allowed values: `terms`, `cancellation`, `privacy`, `imprint`.

## Query parameters

- `language` (string, required, query): de or en: the language of the shop buyers. Allowed values: `de`, `en`.

## Response

- `document` (string): terms, cancellation, privacy or imprint. Allowed values: `terms`, `cancellation`, `privacy`, `imprint`.
- `title` (string): The title.
- `language` (string): de or en. Allowed values: `de`, `en`.
- `html` (string): The template, filled with the account data.
- `to_fill` (array of string): Points that the seller must fill in.
- `note` (string): Notes for the AI app.

## Example request

```bash
curl "https://api.tentary.com/v1/legal/templates/imprint?language=en" \
  -H "Authorization: Bearer $TENTARY_API_KEY"
```

## Example response

```json
{
  "document": "imprint",
  "title": "Legal notice (Impressum)",
  "language": "en",
  "html": "<h2>Legal notice</h2>\n            <p><strong>Lena Berg Yoga</strong><br>Lindenstrasse 12<br>10969 Berlin<br>Germany<br>VAT ID: DE123456789</p>\n            <p>Contact<br />Email: hello@lenaberg-yoga.example<br />Phone:</p>\n            <p>Represented by: *<br>Register court: *<br>Commercial register number: *<br>*only for legal entities (companies)</p>\n            <h3>Liability for content</h3>\n            <p>The content of our pages has been created with the greatest care. However, we cannot guarantee that the content is correct, complete and up to date. As a service provider, we are responsible for our own content on these pages in accordance with general laws. However, as a service provider we are not obliged to monitor transmitted or stored third-party information or to investigate circumstances that indicate illegal activity. Obligations to remove or block the use of information under general laws remain unaffected. However, liability in this respect is only possible from the time we become aware of a specific infringement. As soon as we become aware of such infringements, we will remove this content immediately.</p>\n            <h3>Liability for links</h3>\n            <p>Our offer contains links to external third-party websites over whose content we have no influence. Therefore, we cannot accept any liability for this third-party content. The respective provider or operator of the linked pages is always responsible for their content. The linked pages were checked for possible legal violations at the time of linking. No illegal content was apparent at the time of linking. However, permanent monitoring of the content of the linked pages is not reasonable without concrete evidence of an infringement. As soon as we become aware of infringements, we will remove such links immediately.</p>\n            <h3>Copyright</h3>\n            <p>The content and works created by the site operators on these pages are subject to German copyright law. Reproduction, editing, distribution and any kind of use beyond the limits of copyright law require the written consent of the respective author or creator. Downloads and copies of this site are only permitted for private, non-commercial use. Insofar as the content on this site was not created by the operator, the copyrights of third parties are respected. In particular, third-party content is marked as such. Should you nevertheless become aware of a copyright infringement, please let us know. As soon as we become aware of infringements, we will remove such content immediately.</p>\n            <h3>Consumer dispute resolution</h3>\n            <p>We are neither obliged nor willing to participate in dispute resolution proceedings before a consumer arbitration board.</p>",
  "to_fill": [
    "Fields marked with * (only for companies)",
    "Phone"
  ],
  "note": "A template, not legal advice. Ask the seller for the missing data, never invent it. Keep the source notes (\"Based on\" / \"Basierend auf\") in the text."
}
```
