---
title: "Fetch Template List API"
method: GET
path: "/v3/metainfo/template/list"
tags: ["WhatsApp Templates"]
---

# Fetch Template List API

`GET /v3/metainfo/template/list`

## Request

- Base URL: `https://cpaaswa.netcorecloud.net/api`
- URL: `https://cpaaswa.netcorecloud.net/api/v3/metainfo/template/list`
- Auth: HTTP bearer

Retrieve a list of WhatsApp templates with support for filtering, sorting, and pagination. This API allows you to filter templates by status, name, language, and type to efficiently manage your template library.

## Query parameters

- `status` 'approved' | 'rejected' | 'pending'
- `template_name` string
- `language` string
- `template_type` string
- `offset` integer
- `limit` integer

## Headers

- `Content-Type` string, required

## Response `200`

Successfully retrieved template list

- TemplateListSuccessResponse
  - `status` string, required
  - `message` string, required
  - `data` object, required
    - `templates` object[]
      - `id` string: Unique template identifier
      - `name` string: Template name
      - `category` 'MARKETING' | 'UTILITY' | 'AUTHENTICATION': Template category
      - `language` string: Template language code
      - `status` 'PENDING' | 'APPROVED' | 'REJECTED': Template approval status
      - `components` object[]: Template components (header, body, footer, buttons)
        - `type` 'HEADER' | 'BODY' | 'FOOTER' | 'BUTTONS'
        - `format` 'TEXT' | 'IMAGE' | 'VIDEO' | 'DOCUMENT'
        - `text` string: Component text content
        - `example` object: Example values for variables
    - `pagination` object
      - `offset` integer
      - `limit` integer
      - `total` integer

## Other responses

- `400`: Bad Request - Template specific error
- `401`: Unauthorized - Invalid token
- `500`: Internal Server Error - Template API error

---

[API](https://skmtc.dev/netcorecloud/apis/whatsapp-api.md) - [All operations](https://skmtc.dev/netcorecloud/apis/whatsapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/netcorecloud/apis/whatsapp-api/revisions/82cdf689fb7a?raw)
