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

# List approved templates

> List the APPROVED message templates in the connection's WABA.

Lists the **approved** message templates of the WhatsApp Business Account
linked to the connection. Each item in `data` contains `name`, `language`, `category`,
`status` and the `components` as returned by Meta.

Use the `name` and `language` values when sending via
[Send template](https://docs.d-api.cloud/en/api-reference/cloud-api/enviar-template.md).

> [!TIP]
>
> To see templates in any status (including `PENDING`/`REJECTED`), use
> [List all templates](https://docs.d-api.cloud/en/api-reference/cloud-api/listar-templates-todos.md).


## OpenAPI

````yaml api-reference/openapi.en.json GET /api/v1/connections/cloud-api/{id}/templates
openapi: 3.1.0
info:
  title: D-API - Complete WhatsApp Infrastructure
  description: >-
    A scalable, robust solution for automation managers, SaaS products and end
    users who need a reliable WhatsApp integration. It offers multiple
    simultaneous instances, real-time webhooks, an intuitive dashboard and a
    documented REST API with 99.9% uptime and latency under 30ms.
  version: 1.2.1
  contact:
    name: Suporte D-API
    email: suporte@d-api.cloud
    url: https://d-api.cloud
servers:
  - url: https://api.d-api.cloud
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Home
    description: Base endpoints
  - name: Sessions
    description: Endpoints for managing sessions
  - name: Messages
    description: Endpoints for sending messages
  - name: Cloud API
    description: >-
      WhatsApp Official API (Meta Cloud API): manual connection, template
      management (list/create/delete) and template sending.
  - name: IVR Calls
    description: 'Voice call dispatch (IVR): single or bulk, with audio or an IVR flow.'
  - name: SMS
    description: 'SMS sending: single or bulk.'
  - name: Commands
    description: >-
      Look up asynchronous commands (async: true) by the commandId returned when
      enqueued.
paths:
  /api/v1/connections/cloud-api/{id}/templates:
    get:
      tags:
        - Cloud API
      summary: List approved WABA templates
      description: >-
        Lists the APPROVED message templates of the connection's WhatsApp
        Business Account. `data` is an array of templates with `name`,
        `language`, `status`, `category`, `body`, `bodyParamCount`,
        `headerFormat` (`NONE`, `TEXT`, `IMAGE`, `VIDEO` or `DOCUMENT`),
        `headerText` (when the header is text), `footerText` (when there is a
        footer) and `buttons`. Use these `name`/`language` values when sending
        via POST /messages/send/template.
      operationId: getApiV1ConnectionsCloud-apiByIdTemplates
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data: {}
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - success
            multipart/form-data:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data: {}
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - success
            text/plain:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data: {}
                  error:
                    type: string
                  code:
                    type: string
                required:
                  - success
          description: Successful response
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: 'API Key for authentication. Format: <API_KEY>'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.