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',
    templateName='string',
    templateLanguageCode='string'
)
Parameters:
  • metaTemplateId (string) – The numeric ID of the template assigned by Meta.

  • id (string) –

    [REQUIRED]

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

  • templateName (string) – The name of the message template. Use together with templateLanguageCode as an alternative to metaTemplateId to identify a template.

  • templateLanguageCode (string) – The language code of the message template (for example, en or en_US). Use together with templateName as an alternative to metaTemplateId to identify a 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