> For the complete documentation index, see [llms.txt](https://services.markusschmidt.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.markusschmidt.pro/mspro.services/endpoints/render-engine/templates.md).

# Templates

Templates are Documents with the following properties:

<table><thead><tr><th width="191">Property</th><th>Description</th></tr></thead><tbody><tr><td>Id</td><td>n/a</td></tr><tr><td>OwnerId</td><td>The <em>AccountId</em> taken from the <br>BASIC authentication token.</td></tr><tr><td>DocKey</td><td><code>Render.Template</code></td></tr><tr><td>Context</td><td>{templatePath}</td></tr><tr><td>UserId</td><td>{templateName}</td></tr><tr><td>ContentType</td><td>as provided when the template was posted</td></tr><tr><td>Value</td><td>Template Content</td></tr><tr><td>Rank</td><td>0</td></tr><tr><td>ExpirationUtc</td><td>2099-12-31 (never)</td></tr><tr><td>UserState</td><td>n/a</td></tr><tr><td>UserInfo</td><td>n/a</td></tr><tr><td>Clientd</td><td>n/a</td></tr><tr><td>ClientVersion</td><td>n/a</td></tr></tbody></table>
