---
title: "Tải tệp mẫu (nhị phân, tên tệp theo tên mẫu + đuôi theo fileFormat, Content-Type theo định dạng)"
method: GET
path: "/excel/templates/{templateId}/file"
tags: ["ExcelTemplates"]
---

# Tải tệp mẫu (nhị phân, tên tệp theo tên mẫu + đuôi theo fileFormat, Content-Type theo định dạng)

`GET /excel/templates/{templateId}/file`

## Request

- Base URL: `https://api.fireant.vn`
- URL: `https://api.fireant.vn/excel/templates/{templateId}/file`
- Auth: OAuth 2
  - Implicit: `https://accounts.fireant.vn/connect/authorize`
  - Scopes: `user-data-read`
- TypeScript: <https://skmtc.dev/fireant/apis/fireant-restful-api/docs/excel/templates/:templateId/file/get.ts> (a function with typed inputs; its response is checked against the schema)

Cùng điều kiện với GET .../content. Không tự ghi nhận sử dụng.

## Path parameters

- `templateId` integer, required

## Query parameters

- `token` string

## Response `200`

Tệp .xlsx / .xltx / .docx / .dotx / .pptx / .potx

- object

## Other responses

- `401`: Chưa đăng nhập
- `403`: Chưa đủ hạng thành viên
- `404`: Mẫu không tồn tại hoặc không xem được

## Changes

- **2026-10-10** `300cfd8b632c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fireant/apis/fireant-restful-api/changes/excel/templates/:templateId/file/get.md)

---

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