# saveAsTemplate

**Kind:** API Endpoint

**Source:** [`atloria-monorepo/apps/api/src/template/template.controller.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/api/src/template/template.controller.ts#L151)

Save a document as a template

## Endpoint

`POST /templates/from-document/:id`

| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| `id` | path | `string` | ✓ | Document ID to save as template |

## Referenced By

- `TemplateController` (MODULE_DECLARES)
