:doc:`EndUserMessagingSocial <../../socialmessaging>` / Client / list_whatsapp_message_templates

*******************************
list_whatsapp_message_templates
*******************************



.. py:method:: EndUserMessagingSocial.Client.list_whatsapp_message_templates(**kwargs)

  

  Lists WhatsApp message templates for a specific WhatsApp Business Account.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/socialmessaging-2024-01-01/ListWhatsAppMessageTemplates>`_  


  **Request Syntax**
  ::

    response = client.list_whatsapp_message_templates(
        id='string',
        nextToken='string',
        maxResults=123
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the WhatsApp Business Account to list templates for.

    

  
  :type nextToken: string
  :param nextToken: 

    The token for the next page of results.

    

  
  :type maxResults: integer
  :param maxResults: 

    The maximum number of results to return per page (1-100).

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'templates': [
              {
                  'templateName': 'string',
                  'metaTemplateId': 'string',
                  'templateStatus': 'string',
                  'templateQualityScore': 'string',
                  'templateLanguage': 'string',
                  'templateCategory': 'string'
              },
          ],
          'nextToken': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **templates** *(list) --* 

        A list of template summaries.

        
        

        - *(dict) --* 

          Provides a summary of a WhatsApp message template's key attributes.

          
          

          - **templateName** *(string) --* 

            The name of the template.

            
          

          - **metaTemplateId** *(string) --* 

            The numeric ID assigned to the template by Meta.

            
          

          - **templateStatus** *(string) --* 

            The current status of the template (for example, APPROVED, PENDING, or REJECTED).

            
          

          - **templateQualityScore** *(string) --* 

            The quality score assigned to the template by Meta.

            
          

          - **templateLanguage** *(string) --* 

            The language code of the template (for example, en_US).

            
          

          - **templateCategory** *(string) --* 

            The category of the template (for example, UTILITY or MARKETING).

            
      
    
      

      - **nextToken** *(string) --* 

        The token to retrieve the next page of results, if any.

        
  
  **Exceptions**
  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ValidationException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InvalidParametersException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.ThrottledRequestException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.InternalServiceException`

  
  *   :py:class:`EndUserMessagingSocial.Client.exceptions.DependencyException`

  