---
title: "Increment the use counter"
method: POST
path: "/templates/{id}/use"
tags: ["Templates"]
---

# Increment the use counter

`POST /templates/{id}/use`

## Request

- Base URL: `https://api.varg.ai/v2`
- URL: `https://api.varg.ai/v2/templates/{id}/use`
- Auth: HTTP bearer

Bumps the template's use counter. It does not check that the template is
approved, and no body is needed. Rendering a template already counts as
a use, so only call this when you use the template some other way.

## Response `200`

Updated counter

- TemplateUseResponse
  - `success` boolean
  - `useCount` integer: Use counter after the increment

## Other responses

- `400`: Invalid request
- `401`: Missing or invalid API key / JWT
- `404`: Template or document not found

## Changes

- **2026-10-20** `43bcf5ea398d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/varg/apis/varg-api/changes/templates/:id/use/post.md)

---

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