---
title: "List templates"
method: GET
path: "/beta/templates"
tags: ["Templates"]
---

# List templates

`GET /beta/templates`

Lists all templates belonging to an organization.

## Query parameters

- `pageLimit` integer
- `pageKey` string
- `type` 'EmailAutoReply' | 'QuickResponse'

## Response `200`

The list of templates in an organization

- ListTemplatesOutput
  - `data` Template[]
    - union
      - EmailAutoReply
        - `id` string, required
        - `name` string, required
        - `content` string, required
        - `createdBy` string, required
        - `createdAt` string, required
        - `lastEditedBy` string
        - `lastEditedAt` string
        - `translations` Translation[]
          - `locale` string, required — Format for locale is {language}-{script}-{country}, e.g. "en-US", "uz-Arab-AF", "da"
          - `content` string, required
          - `isDeactivated` boolean, required
          - `subject` string
        - `subject` string
      - QuickResponse
        - `id` string, required
        - `name` string, required
        - `content` string, required
        - `createdBy` string, required
        - `createdAt` string, required
        - `lastEditedBy` string
        - `lastEditedAt` string
        - `translations` Translation[]
          - `locale` string, required — Format for locale is {language}-{script}-{country}, e.g. "en-US", "uz-Arab-AF", "da"
          - `content` string, required
          - `isDeactivated` boolean, required
          - `subject` string
        - `subject` string
  - `meta` PaginationLinks
    - `previous` string — url
    - `next` string — url

## Other responses

- `400` — Invalid value extracted from request context, Invalid value for: query parameter pageLimit, Invalid value for: query parameter pageKey, Invalid value for: query parameter type
- `500` — Internal failure during request processing

---

[API](https://skmtc.net/dixa/apis/dixa-api.md) · [All operations](https://skmtc.net/dixa/apis/dixa-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dixa/dixa-api/versions/041e058483f0/schema)
