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

# List all templates

> Auto-paginates Meta and returns a flat array containing every matching template.



## OpenAPI

````yaml /api-reference/meta/openapi.yaml get /meta/wabas/{wabaId}/templates/all
openapi: 3.1.0
info:
  title: Eazybe Meta API Documentation
  version: 1.0.0
  description: |
    A single authenticated Eazybe REST surface over WhatsApp Business Cloud API.
    The wrapper uses the Meta credentials captured when a WABA is connected to
    Eazybe, so callers never send Meta access tokens directly.
servers:
  - url: https://cerberus.eazybe.com/staging/api/v2
    description: Eazybe staging API v2.
security:
  - bearerAuth: []
tags:
  - name: Phone numbers
    description: Discover connected WABAs and phone-number IDs.
  - name: Messaging
    description: Send WhatsApp messages and update message state.
  - name: Templates
    description: Manage WhatsApp message templates.
  - name: Media
    description: Upload, inspect, and delete WhatsApp media.
  - name: Webhooks
    description: Manage WABA webhook subscriptions.
  - name: Analytics
    description: Read messaging, conversation, pricing, and template analytics.
  - name: Profiles and settings
    description: Manage business profiles and phone-number settings.
  - name: Automation
    description: Configure welcome messages, ice-breakers, and commands.
  - name: QR codes
    description: Manage click-to-chat QR codes.
  - name: Flows
    description: Manage the WhatsApp Flows lifecycle.
  - name: Number administration
    description: Register numbers, manage PINs, and synchronize coexistence data.
  - name: Block list
    description: List, block, and unblock WhatsApp users.
paths:
  /meta/wabas/{wabaId}/templates/all:
    get:
      tags:
        - Templates
      summary: List all templates
      description: >-
        Auto-paginates Meta and returns a flat array containing every matching
        template.
      operationId: listAllTemplates
      parameters:
        - $ref: '#/components/parameters/WabaId'
        - name: name
          in: query
          required: false
          description: Filter by template name.
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Filter by Meta template status.
          schema:
            type: string
        - $ref: '#/components/parameters/Fields'
      responses:
        '200':
          description: >-
            All templates returned as a flat array


            **Failure responses**


            | **Status** | **Meaning** | **Action** |

            | --- | --- | --- |

            | `401` | Missing, invalid, or expired bearer token |
            Re-authenticate |

            | `404` | `wabaId` not linked to your organization | Verify the id |

            | `400` | Invalid query parameter | Correct the query |

            | `502` | Graph unreachable or timed out mid-pagination | Retry;
            partial pages are not returned |
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  required:
                    - id
                    - name
                    - language
                    - status
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    language:
                      type: string
                    status:
                      type: string
              example:
                - id: '778899001122'
                  name: order_update
                  language: en
                  status: APPROVED
                - id: '778899001123'
                  name: diwali_offer
                  language: en
                  status: APPROVED
                - id: '778899001124'
                  name: payment_reminder
                  language: en
                  status: PENDING
components:
  parameters:
    WabaId:
      name: wabaId
      in: path
      required: true
      description: WhatsApp Business Account ID returned by `GET /meta/phone-numbers`.
      schema:
        type: string
      example: '1029384756'
    Fields:
      name: fields
      in: query
      required: false
      description: Comma-separated Graph API fields. Omit to use the endpoint defaults.
      schema:
        type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Eazybe token
      description: |
        Eazybe bearer token. The token resolves the caller's organization and
        must be kept on the server.

````