EndUserMessagingSocial / Client / get_whatsapp_message_template

get_whatsapp_message_template

EndUserMessagingSocial.Client.get_whatsapp_message_template(**kwargs)

Retrieves a specific WhatsApp message template.

See also: AWS API Documentation

Request Syntax

response = client.get_whatsapp_message_template(
    metaTemplateId='string',
    id='string'
)
Parameters:
  • metaTemplateId (string) –

    [REQUIRED]

    The numeric ID of the template assigned by Meta.

  • id (string) –

    [REQUIRED]

    The ID of the WhatsApp Business Account associated with this template.

Return type:

dict

Returns:

Response Syntax

{
    'template': 'string'
}

Response Structure

  • (dict) –

    • template (string) –

      The complete template definition as a JSON string (maximum 6000 characters).

Exceptions

  • EndUserMessagingSocial.Client.exceptions.ValidationException

  • EndUserMessagingSocial.Client.exceptions.AccessDeniedException

  • EndUserMessagingSocial.Client.exceptions.ResourceNotFoundException

  • EndUserMessagingSocial.Client.exceptions.InvalidParametersException

  • EndUserMessagingSocial.Client.exceptions.ThrottledRequestException

  • EndUserMessagingSocial.Client.exceptions.InternalServiceException

  • EndUserMessagingSocial.Client.exceptions.DependencyException