> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tapace.lk/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](/pagination) and leave out each template's `definition`, so `requiredFields` is empty here. [Get the template](/api-reference/templates/get) to see both.

<ParamField query="limit" type="integer" default="25">
  Items per page, from 1 to 100.
</ParamField>

<ParamField query="cursor" type="string">
  The `nextCursor` from the previous page.
</ParamField>

<ParamField query="type" type="string">
  `generic` or `event_ticket`.
</ParamField>

<ParamField query="archived" type="boolean" default="false">
  `true` lists archived templates instead of active ones.
</ParamField>

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

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


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