---
title: "Download pdf version of template"
method: POST
path: "/e-signature-templates/{eSignatureTemplateId}/actions/download"
tags: ["Actions"]
---

# Download pdf version of template

`POST /e-signature-templates/{eSignatureTemplateId}/actions/download`

## Request

- Base URL: `https://rest.api.pactima.com/v1`
- URL: `https://rest.api.pactima.com/v1/e-signature-templates/{eSignatureTemplateId}/actions/download`
- Auth: HTTP bearer

Create a link to download the PDF version of an uploaded document.

## Request body `multipart/form-data`

- object
  - `duration` string: Time span expressed as [vercel/ms](https://github.com/vercel/ms), with only string values accepted. There is a minimum of 5 minutes and maximum of 1 year. (E.g. "2 days", "10h", "7d", without an time units, the default is milliseconds, i.e. "120" equals "120ms" )

## Response `200`

Details of the download

- FileDownloadResponse
  - `id` string, required
  - `name` string, required
  - `type` string, required
  - `signedUrl` string

---

[API](https://skmtc.dev/pactima/apis/esignature-templates-api.md) - [All operations](https://skmtc.dev/pactima/apis/esignature-templates-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pactima/apis/esignature-templates-api/revisions/7d2bb0c7b4b9?raw)
