---
title: "Get Template Files as Data Uri"
method: GET
path: "/template/files_as_data_uri/{template_id}"
tags: ["Template"]
---

# Get Template Files as Data Uri

`GET /template/files_as_data_uri/{template_id}`

Obtain a copy of the current documents specified by the `template_id` parameter. Returns a JSON object with a `data_uri` representing the base64 encoded file (PDFs only).

If the files are currently being prepared, a status code of `409` will be returned instead. In this case please wait for the `template_created` callback event.

## Path parameters

- `template_id` string, required

## Response `200`

successful operation

- FileResponseDataUri
  - `data_uri` string, required — File as base64 encoded string.

## Other responses

- `4XX` — failed_operation

---

[API](https://skmtc.net/hellosign/apis/dropbox-sign-api.md) · [All operations](https://skmtc.net/hellosign/apis/dropbox-sign-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hellosign/dropbox-sign-api/revisions/2ea3f04008af/schema)
