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

# List Message Templates

> Returns all WhatsApp message templates for the inbox



## OpenAPI

````yaml /api-reference/openapi/EvoAI-CRM-Service/inboxes.yaml get /api/v1/inboxes/{id}/message_templates
openapi: 3.0.4
info:
  title: Evolution Foundation - CRM Service - Inboxes
  description: Management of contacts, conversations, inboxes, labels and macros
  version: 1.1.0
servers:
  - url: https://api.evoai.app
    description: Production server
  - url: http://localhost:3000
    description: Development server
    variables:
      port:
        default: '3000'
  - url: '{customUrl}'
    description: Custom server
    variables:
      customUrl:
        default: https://your-instance.com
        description: Enter your server URL
security: []
paths:
  /api/v1/inboxes/{id}/message_templates:
    parameters:
      - name: id
        in: path
        schema:
          type: string
          format: uuid
        description: ID of the inbox
        required: true
    get:
      summary: List Message Templates
      description: Returns all WhatsApp message templates for the inbox
      operationId: listMessageTemplates
      responses:
        '200':
          description: Message templates retrieved successfully
          content:
            application/json:
              schema:
                type: object
                required:
                  - success
                  - data
                  - meta
                  - message
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: array
                    description: Array of message templates
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          example: '1234567890'
                        name:
                          type: string
                          example: welcome_message
                        category:
                          type: string
                          example: UTILITY
                        language:
                          type: string
                          example: en
                        status:
                          type: string
                          example: APPROVED
                        components:
                          type: array
                          items:
                            type: object
                  meta:
                    type: object
                    properties:
                      pagination:
                        type: object
                        properties:
                          page:
                            type: integer
                            description: Current page number
                            example: 1
                          pageSize:
                            type: integer
                            description: Number of items per page
                            example: 20
                          total:
                            type: integer
                            description: Total number of items
                            example: 0
                          totalPages:
                            type: integer
                            description: Total number of pages
                            example: 0
                          hasNextPage:
                            type: boolean
                            nullable: true
                            description: Whether there is a next page
                            example: null
                          hasPreviousPage:
                            type: boolean
                            nullable: true
                            description: Whether there is a previous page
                            example: null
                      timestamp:
                        type: string
                        format: date-time
                        description: Response timestamp
                        example: '2026-02-05T16:40:06Z'
                  message:
                    type: string
                    description: Success message
                    example: Inbox templates retrieved successfully
              example:
                success: true
                data: []
                meta:
                  pagination:
                    page: 1
                    pageSize: 20
                    total: 0
                    totalPages: 0
                    hasNextPage: null
                    hasPreviousPage: null
                  timestamp: '2026-02-05T16:40:06Z'
                message: Inbox templates retrieved successfully
        '400':
          description: Bad Request (invalid data)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                bad_request:
                  summary: Invalid request data
                  value:
                    success: false
                    error:
                      code: BAD_REQUEST
                      message: Invalid request data
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/inboxes/{id}/message_templates
                      method: GET
        '401':
          description: Unauthorized (invalid or missing token)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                unauthorized:
                  summary: Unauthorized
                  value:
                    success: false
                    error:
                      code: UNAUTHORIZED
                      message: Unauthorized
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/inboxes/{id}/message_templates
                      method: GET
        '403':
          description: Forbidden (insufficient permissions)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                forbidden:
                  summary: Forbidden
                  value:
                    success: false
                    error:
                      code: FORBIDDEN
                      message: Forbidden
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/inboxes/{id}/message_templates
                      method: GET
        '404':
          description: Not Found (resource not found)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                not_found:
                  summary: Inbox not found
                  value:
                    success: false
                    error:
                      code: NOT_FOUND
                      message: Inbox not found
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/inboxes/{id}/message_templates
                      method: GET
        '500':
          description: Internal Server Error (server error)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                internal_error:
                  summary: Internal server error
                  value:
                    success: false
                    error:
                      code: INTERNAL_ERROR
                      message: An internal server error occurred
                    meta:
                      timestamp: '2024-01-15T10:30:00Z'
                      path: /api/v1/inboxes/{id}/message_templates
                      method: GET
      security:
        - userApiKey: []
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - success
        - error
        - meta
      properties:
        success:
          type: boolean
          example: false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: VALIDATION_ERROR
            message:
              type: string
              example: Validation failed
            details:
              type: object
              additionalProperties: true
              nullable: true
        meta:
          type: object
          required:
            - timestamp
            - path
            - method
          properties:
            timestamp:
              type: string
              format: date-time
              example: '2024-01-15T10:30:00Z'
            path:
              type: string
              example: /public/api/v1/inboxes/{inbox_identifier}/contacts
            method:
              type: string
              example: POST
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token

````

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