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

********************************
create_whatsapp_message_template
********************************



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

  

  Creates a new WhatsApp message template from a custom definition.

   

  .. note::

    

    Amazon Web Services End User Messaging Social does not store any WhatsApp message template content.

    

  

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


  **Request Syntax**
  ::

    response = client.create_whatsapp_message_template(
        templateDefinition=b'bytes',
        id='string'
    )
    
  :type templateDefinition: bytes
  :param templateDefinition: **[REQUIRED]** 

    The complete template definition as a JSON blob.

    

  
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the WhatsApp Business Account to associate with this template.

    

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

    
    ::

      {
          'metaTemplateId': 'string',
          'templateStatus': 'string',
          'category': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

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

        The numeric ID assigned to the template by Meta.

        
      

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

        The status of the created template, such as PENDING or APPROVED..

        
      

      - **category** *(string) --* 

        The category of the template, such as UTILITY or MARKETING.

        
  
  **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`

  