---
title: "Get Templates"
method: GET
path: "/v2/templates"
tags: ["Template"]
---

# Get Templates

`GET /v2/templates`

Get Templates

## Query parameters

- `status` 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'ALL' — Template status
- `name` string — Template name
- `language` 'af' | 'sq' | 'ar' | 'az' | 'bn' | 'bg' | 'ca' | 'zh_CN' | 'zh_HK' | 'zh_TW' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'en_GB' | 'en_US' | 'et' | 'fil' | 'fi' | 'fr' | 'ka' | 'de' | 'el' | 'gu' | 'ha' | 'he' | 'hi' | 'hu' | 'id' | 'ga' | 'it' | 'ja' | 'kn' | 'kk' | 'rw_RW' | 'ko' | 'ky_KG' | 'lo' | 'lv' | 'lt' | 'mk' | 'ms' | 'ml' | 'mr' | 'nb' | 'fa' | 'pl' | 'pt_BR' | 'pt_PT' | 'pa' | 'ro' | 'ru' | 'sr' | 'sk' | 'sl' | 'es' | 'es_AR' | 'es_ES' | 'es_MX' | 'sw' | 'sv' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'ur' | 'uz' — Template language
- `category` 'MARKETING' | 'UTILITY' — Template category
- `wabaPhoneNumbers` string — Comma separated waba phone numbers
- `allWabaPhoneNumbers` boolean — If set to true, returns templates for all Waba Phone Numbers

## Response `201`

Get Templates

- GetV2TemplatesResponseItem[]
  - `id` number, required — Template ID
  - `name` string, required — Template Name
  - `language` 'af' | 'sq' | 'ar' | 'az' | 'bn' | 'bg' | 'ca' | 'zh_CN' | 'zh_HK' | 'zh_TW' | 'hr' | 'cs' | 'da' | 'nl' | 'en' | 'en_GB' | 'en_US' | 'et' | 'fil' | 'fi' | 'fr' | 'ka' | 'de' | 'el' | 'gu' | 'ha' | 'he' | 'hi' | 'hu' | 'id' | 'ga' | 'it' | 'ja' | 'kn' | 'kk' | 'rw_RW' | 'ko' | 'ky_KG' | 'lo' | 'lv' | 'lt' | 'mk' | 'ms' | 'ml' | 'mr' | 'nb' | 'fa' | 'pl' | 'pt_BR' | 'pt_PT' | 'pa' | 'ro' | 'ru' | 'sr' | 'sk' | 'sl' | 'es' | 'es_AR' | 'es_ES' | 'es_MX' | 'sw' | 'sv' | 'ta' | 'te' | 'th' | 'tr' | 'uk' | 'ur' | 'uz', required — Template Language
  - `category` 'MARKETING' | 'UTILITY', required — Template Category
  - `status` 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED', required — Template Status
  - `rejectedReason` string, required — Template Rejected Reason
  - `createdBy` string, required — Template Created By
  - `wabaPhoneNumber` string, required — Waba Phone Number
  - `components` ComponentsDto[], required — Template Components
    - `type` 'BODY' | 'HEADER' | 'FOOTER' | 'BUTTON', required — Component Type
    - `format` 'TEXT' | 'IMAGE' | 'DOCUMENT' | 'VIDEO' | 'LOCATION' — Template Component Format (Present when type is HEADER)
    - `text` string — Present WHEN type is BODY/FOOTER or type is HEADER and format is TEXT
    - `variables` ComponentVariableDto[] — Present when type is HEADER/BODY
      - `name` string — Name of the variable present in the text
      - `mediaUrl` string — Present only if type is IMAGE/VIDEO/DOCUMENT
      - `fileName` string — The filename of the document (Present only if type is DOCUMENT)
    - `buttons` ButtonDto[] — Present when type is BUTTON
      - `type` 'QUICK_REPLY' | 'URL' | 'PHONE_NUMBER', required — Button Type
      - `text` string, required — Button Text
      - `url` string — Button Url (Present only if type is URL)
      - `phoneNumber` string — Button Phone Number (Present only if type is PHONE_NUMBER)
      - `variables` ButtonVariableDto[] — Button Variables (Present when type is URL)
        - `parameter` string, required

## Other responses

- `400` — Incorrect payload
- `401` — Unauthorized

---

[API](https://skmtc.net/doubletick/apis/doubletick-public-apis.md) · [All operations](https://skmtc.net/doubletick/apis/doubletick-public-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/doubletick/doubletick-public-apis/revisions/bba484527d34/schema)
