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

# Get WhatsApp Templates V2

`GET /v2/whatsapp/template`

## Request

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

This method allows you to obtain the list of WhatsApp templates<br>

**API Update Notice:** This V2 endpoint is the recommended version, replacing the previous V1 endpoint. We recommend migrating to V2 immediately for a better experience.<br>

Benefits of V2:
- Decreased processing time for API requests and responses
- Improved features: Blocking Request, Spam Check, and Blocked Numbers
- Increased RPS (from 30 RPS to 50 RPS)
- Better developer environment to support future developments
- Improved logging and monitoring
- Improved dependencies and service stability<br>

A rate limit of 50 RPS is applied to WhatsApp services. Verihubs also applies rate limits divided into several categories based on product. For more details, see [Rate Limit](https://docs.verihubs.com/docs/rate-limit).

## 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)
