> ## Documentation Index
> Fetch the complete documentation index at: https://tapace.lk/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List templates

> Returns your organization's templates, newest first.

Templates are shared by test and live. Results are [paginated](https://tapace.lk/docs/pagination.md) and leave out each template's `definition`, so `requiredFields` and `requiredActions` are empty here. [Get the template](https://tapace.lk/docs/api-reference/templates/get.md) to see them.

**limit** `integer` (default: 25)

Items per page, from 1 to 100.

**cursor** `string`

The `nextCursor` from the previous page.

**type** `string`

`generic`, `event_ticket`, `stamp_card` or `points_card`.

**archived** `boolean` (default: false)

`true` lists archived templates instead of active ones.

```bash cURL theme={null}
curl "https://api.tapace.lk/v1/templates?type=generic" \
  -H "Authorization: Bearer $TAPACE_API_KEY"
```

```json 200 theme={null}
{
  "object": "list",
  "data": [
    {
      "object": "template",
      "id": "tmpl_Q4vN8xT2mLr7KpZs3Wd1",
      "type": "generic",
      "name": "Gold membership",
      "revision": 3,
      "archived": false,
      "requiredFields": [],
      "requiredActions": [],
      "issuePlatforms": { "apple": true, "google": true },
      "createdAt": "2026-10-01T09:00:00.000Z",
      "updatedAt": "2026-10-12T15:20:00.000Z"
    }
  ],
  "hasMore": false,
  "nextCursor": null
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.