---
title: "Attach Template Link"
method: POST
path: "/api/documents/templates/{template_id}/link"
tags: ["templates"]
---

# Attach Template Link

`POST /api/documents/templates/{template_id}/link`

## Request

- Base URL: `https://zsign.io` (the document declares no server; this is the origin it was published from)
- URL: `https://zsign.io/api/documents/templates/{template_id}/link`
- Auth: HTTP bearer

Give an existing template a public /t/{id} URL.

The counterpart to POST /api/template-links, which uploads a file and
links it in one call. This one links a template that already exists --
including one whose fields were placed in the visual editor, which had
no way to become a public link before.

## Path parameters

- `template_id` string, uuid, required

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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