> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automatebusiness.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch Approved Templates

> Retrieves a list of all approved WhatsApp templates for your account.



## OpenAPI

````yaml GET /api/templates/approved
openapi: 3.1.0
info:
  title: Automate Chats API
  description: >-
    API for managing WhatsApp template messages, contacts, custom fields, tags,
    and external integrations.
  version: 1.0.0
servers:
  - url: https://api.automatechats.com
security:
  - apiKeyAuth: []
paths:
  /api/templates/approved:
    get:
      summary: Fetch Approved Templates
      description: Retrieves a list of all approved WhatsApp templates for your account.
      parameters:
        - name: page
          in: query
          description: Page number for pagination
          required: false
          schema:
            type: integer
            default: 1
        - name: limit
          in: query
          description: Number of items per page
          required: false
          schema:
            type: integer
            default: 10
        - name: search
          in: query
          description: Search term to filter templates by name
          required: false
          schema:
            type: string
        - name: category
          in: query
          description: >-
            Filter by template category (e.g., UTILITY, MARKETING,
            AUTHENTICATION). Supports comma-separated values.
          required: false
          schema:
            type: string
        - name: type
          in: query
          description: Filter by template type
          required: false
          schema:
            type: string
        - name: language
          in: query
          description: Filter by language code (e.g., en_US, en_UK, etc.)
          required: false
          schema:
            type: string
        - name: status
          in: query
          description: >-
            Filter by template status (e.g., APPROVED, PENDING, REJECTED).
            Supports comma-separated values.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: A list of approved templates
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        name:
                          type: string
                        category:
                          type: string
                        language:
                          type: string
                        status:
                          type: string
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````