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

# List WhatsApp templates

> Lists the workspace's approved WhatsApp message templates, gathered live from every connected WhatsApp number (with a cached fallback). Use `name` and `language` when sending, and `variableCount` to know how many `parameters` a template expects.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/whatsapp/templates
openapi: 3.1.0
info:
  title: Adraa Inbox API
  description: >-
    Public REST API for Adraa Inbox. Assign agents to conversations and send
    messages from your own systems. Authenticate every request with a workspace
    API token.
  version: 1.0.0
  contact:
    email: support@adraa.ai
servers:
  - url: https://api.inbox.adraa.ai
    description: Production
security:
  - apiToken: []
paths:
  /api/v1/whatsapp/templates:
    get:
      summary: List WhatsApp templates
      description: >-
        Lists the workspace's approved WhatsApp message templates, gathered live
        from every connected WhatsApp number (with a cached fallback). Use
        `name` and `language` when sending, and `variableCount` to know how many
        `parameters` a template expects.
      operationId: listWhatsappTemplates
      responses:
        '200':
          description: Approved templates
          content:
            application/json:
              schema:
                type: object
                properties:
                  templates:
                    type: array
                    items:
                      type: object
                      properties:
                        name:
                          type: string
                          description: Template name used when sending.
                          example: order_status_update
                        language:
                          type: string
                          description: Template language code.
                          example: en_US
                        category:
                          type: string
                          nullable: true
                          description: Meta template category.
                          example: UTILITY
                        headerText:
                          type: string
                          nullable: true
                          description: Text header, if the template has one.
                          example: null
                        bodyText:
                          type: string
                          description: Body text, with {{1}}, {{2}}, … placeholders.
                          example: Hi {{1}}, order {{2}} is now {{3}}.
                        variableCount:
                          type: integer
                          description: >-
                            Number of {{n}} placeholders in the body — the
                            number of `parameters` to send.
                          example: 3
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    Unauthorized:
      description: Missing, invalid, or revoked API token
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_API_TOKEN
              message: Invalid or revoked API token
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Machine-readable error code.
            message:
              type: string
              description: Human-readable explanation.
            details:
              description: Field-level details for validation errors.
              type: array
              items:
                type: object
                properties:
                  field:
                    type: string
                  message:
                    type: string
  securitySchemes:
    apiToken:
      type: http
      scheme: bearer
      description: >-
        Workspace API token created in Settings → API. Tokens start with
        `adraa_`.

````