---
title: "Thích mẫu"
method: POST
path: "/excel/templates/{templateId}/like"
tags: ["ExcelTemplates"]
---

# Thích mẫu

`POST /excel/templates/{templateId}/like`

## Request

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

## Path parameters

- `templateId` integer, required

## Query parameters

- `token` string

## Response `200`

Trạng thái thích hiện tại

- FireAntApiModelsExcelTemplatesExcelTemplateLikeResult: Trạng thái thích của người dùng hiện tại
  - `templateId` integer: ID mẫu
  - `likeCount` integer: Tổng số lượt thích
  - `isLiked` boolean: Người dùng hiện tại đang thích mẫu

## Other responses

- `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/like/post.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)
