---
title: "Get WhatsApp Templates"
method: GET
path: "/v1/whatsapp/template"
tags: ["WhatsApp Templates"]
---

# Get WhatsApp Templates

`GET /v1/whatsapp/template`

## Request

- Base URL: `https://api.verihubs.com`
- URL: `https://api.verihubs.com/v1/whatsapp/template`
- Auth: none declared. Required headers: `App-ID`, `API-Key`

**⚠️ This endpoint will be deprecated on June 30, 2026.**

This method allows you to obtain the list of WhatsApp Templates

## Query parameters

- `page` integer
- `limit` integer
- `template_name` string

## Headers

- `App-ID` string, required
- `API-Key` string, required

## Response `200`

Successful Response

- ResponseGetWhatsappTemplates
  - `code` integer: status code
  - `status` integer: status code
  - `message` string: message
  - `data` GetWhatsappTemplates[]: template data
    - `code` integer: Code **(to be deleted on November 30, 2022)**
    - `message` string: message
    - `data` SettingHttpPublicApiSchemaResponseTemplate[]: template data
      - `id` string
      - `name` string
      - `category_code` string
      - `lang_code` string
      - `status` 'NEW' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'DELETING' | 'DELETED': An enumeration
      - `component` TemplateRootComponent
        - `body` SettingHttpPublicApiSchemaResponseBodyComponent, required
          - `text` string, required
          - `examples` string[]: List of variable example if variable exists
        - `header` SettingHttpPublicApiSchemaResponseHeaderComponent
          - `format` 'TEXT' | 'IMAGE' | 'DOCUMENT', required: An enumeration
          - `text` string: Text for the header part
          - `examples` string[]: List of variable example if it uses text variable(s)
        - `footer` SettingHttpPublicApiSchemaResponseFooterComponent
          - `text` string, required
        - `button` SettingHttpPublicApiSchemaResponseButtonsComponent
          - `buttons` union[], required: Button list
            - union
              - …
      - `created_at` string, date-time
    - `total_records` integer: total amount of record
    - `max_page` integer: max page
  - `total_records` integer: total amount of record
  - `max_page` integer: max page

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/verihubs/apis/whatsapp-api-documentation.md) - [All operations](https://skmtc.dev/verihubs/apis/whatsapp-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/verihubs/apis/whatsapp-api-documentation/revisions/7c709c17b600?raw)
