---
title: "List versions"
description: "A template's saved revisions, newest first (the last 15 edits are kept): when each was saved, its label if the merchant named it, and which fields changed. Read-only."
url: https://docs.invoicefalcon.com/v3-reference/templates/list-versions/
api: "API v3 reference"
method: GET
path: "/templates/{id}/versions"
---

# List versions

`GET https://app.invoicefalcon.com/api/v3/external/templates/{id}/versions`

A template's saved revisions, newest first (the last 15 edits are kept): when each was saved, its label if the merchant named it, and which fields changed. Read-only.

## Path parameters

- `id` (string, required): Template id.

## Query parameters

- `page` (integer): Page number, from 1.
- `per_page` (integer): Rows per page, 1-100 (default 25).

## Returns

- `items` (array of objects, required)
  - `id` (integer): e.g. `20`
  - `label` (string, nullable)
  - `event` (string): e.g. `update`
  - `created_at` (string): e.g. `2026-11-10T09:07:41Z`
  - `changed_fields` (array of strings)
- `page` (object, required): Offset paging of a list (`page`, `per_page` query params).
  - `number` (integer, required): 1-based page number.
  - `size` (integer, required): Rows per page, max 100.
  - `total` (integer, required): Rows across all pages.
  - `total_pages` (integer, required): e.g. `1`

Rate limit: this call costs 1 point ([rate limits](https://docs.invoicefalcon.com/v3/docs/api-v3/rate-limits/)).

## Example request

```sh
curl "https://app.invoicefalcon.com/api/v3/external/templates/125/versions" \
  -H "X-Auth-Token: $INVOICE_FALCON_API_KEY"
```

## 200

One page of rows.

```json
{
  "items": [
    {
      "id": 20,
      "label": null,
      "event": "update",
      "created_at": "2026-11-10T09:07:41Z",
      "changed_fields": [
        "accent_color",
        "show_sku"
      ]
    }
  ],
  "page": {
    "number": 1,
    "size": 25,
    "total": 1,
    "total_pages": 1
  }
}
```

## 401

Missing or unknown `X-Auth-Token`, or the shop uninstalled the app.

```json
{
  "errors": [
    "Invalid API key"
  ],
  "code": "unauthorized"
}
```

## 403

`v3_required`: the shop still runs the previous dashboard. `paid_plan_required`: API access needs a paid plan.

```json
{
  "errors": [
    "API access requires a paid plan"
  ],
  "code": "paid_plan_required"
}
```

## 404

The resource does not exist for this shop, or no action is registered at this path.

```json
{
  "errors": [
    "Resource not found"
  ],
  "code": "not_found"
}
```

## 422

The request failed validation. Nothing was saved.

```json
{
  "errors": [
    "id is missing"
  ]
}
```

## 429

Rate limited: cost-weighted per key (reads cost less than writes). Wait `Retry-After` seconds; see `X-RateLimit-*` headers.

```json
{
  "errors": [
    "Rate limit exceeded"
  ],
  "code": "rate_limited"
}
```

