---
title: "Instantiate a template"
method: POST
path: "/api/v1/templates/{template_id}/use"
tags: ["Templates"]
---

# Instantiate a template

`POST /api/v1/templates/{template_id}/use`

## Request

- Base URL: `https://www.ifillpdf.com`
- URL: `https://www.ifillpdf.com/api/v1/templates/{template_id}/use`
- Auth: HTTP bearer

Clones a template into a new working document pre-filled with its frozen defaults. Free — duplication never re-runs analysis, so it does not debit the page quota. The new document starts in state filling.

## Path parameters

- `template_id` string, uuid, required

## Response `201`

Document created from template.

- object
  - `document_id` string, uuid, required
  - `status` 'filling', required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Resource not found.
- `429`: Rate limit exceeded.

---

[API](https://skmtc.dev/ifillpdf/apis/ifillpdf-api.md) · [All operations](https://skmtc.dev/ifillpdf/apis/ifillpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ifillpdf/apis/ifillpdf-api/revisions/17d927bde9ea?raw)
