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

# Get templates

`GET /api/v2/getMessageTemplates`

## Query parameters

- `pageSize` integer
- `pageNumber` integer
- `name` string
- `wabaId` string

## Response `200`

Get templates success

- object
  - `result` string — Result status of the request (e.g. 'success').
  - `messageTemplates` object[] — List of available message templates.
    - `id` string — Unique identifier of the message template.
    - `wabaId` unknown
    - `elementName` string — Internal name of the template.
    - `category` string — Template category (e.g. MARKETING, UTILITY).
    - `subCategory` string — Template sub-category (e.g. STANDARD).
    - `catalogInfo` unknown
    - `hsm` unknown
    - `hsmOriginal` unknown
    - `customParams` unknown
    - `status` string — Approval status of the template (e.g. APPROVED, REJECTED, PENDING).
    - `language` object — Language information of the template.
      - `key` string — Human readable language name (e.g. 'English (US)').
      - `value` string — Language code (e.g. 'en_US').
      - `text` string — Display text of the language.
    - `lastModified` string — Last modification date/time of the template.
    - `type` string — Template type, usually 'template'.
    - `header` unknown
    - `body` string — Rendered template body with parameter placeholders.
    - `bodyOriginal` string — Original body definition before parameter mapping.
    - `footer` string — Footer text shown at the bottom of the message.
    - `buttons` object[] — List of buttons configured for the template.
      - `type` string — Button type (e.g. 'url').
      - `parameter` object — Button configuration parameters.
        - `text` string — Button display text.
        - `phoneNumber` string — Phone number associated with the button, if any.
        - `url` string — URL the button directs to, if type is 'url'.
        - `urlOriginal` unknown
        - `urlType` string — URL type (e.g. 'static' or 'dynamic').
        - `buttonParamMapping` unknown
        - `copyOfferCode` unknown
        - `orderDetails` unknown
    - `buttonsType` string — Type of buttons configuration (e.g. 'quick_reply_and_call_to_action').
    - `carouselCards` unknown
    - `expiresIn` integer — Lifetime of the template in seconds, 0 means no expiry.
    - `includeExpiryTime` boolean — Indicates whether an expiry time is included.
    - `addSecurityRecommendation` boolean — Indicates whether security recommendation text is added.
    - `isUrlBtnClickTrackingEnabled` boolean — Whether URL button click tracking is enabled.
    - `limitedTimeOffer` unknown
    - `quality` integer — Quality score of the template. 0: UNKNOWN 1: GREEN 2: YELLOW 3: RED
    - `creationMethod` integer — Indicates how the template was created (internal enum).
  - `link` object — Pagination information of the template list.
    - `prevPage` unknown
    - `nextPage` unknown
    - `pageNumber` integer — Current page number.
    - `pageSize` integer — Number of items per page.
    - `total` integer — Total number of templates available.

---

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