---
title: "Get Message Templates"
method: GET
path: "/api/v1/getMessageTemplates"
tags: ["Templates"]
---

# Get Message Templates

`GET /api/v1/getMessageTemplates`

## Query parameters

- `pageSize` integer
- `pageNumber` integer
- `channelPhoneNumber` string

## Response `200`

Get Message 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.
    - `elementName` string — Internal name of the template.
    - `category` string — Template category (e.g. AUTO_REPLY, MARKETING).
    - `hsm` unknown
    - `hsmOriginal` 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 (e.g. *{{1}}*).
    - `bodyOriginal` string — Original body definition before parameter mapping (e.g. *{{name}}*).
    - `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
    - `buttonsType` string — Type of buttons configuration (e.g. 'call_to_action').
  - `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)
