Whatsapp Message Templates

Create a Whatsapp message template

Changed on

Creates a WhatsApp message template for review and subsequent use in template messages.

post/v2/whatsapp/message_templates

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/v2/whatsapp/message_templates
  • Auth: HTTP bearer

Request body

waba_idstring required

The WhatsApp Business Account ID.

namestring required

Template name. Lowercase letters, numbers, and underscores only.

category'MARKETING' | 'UTILITY' | 'AUTHENTICATION' required

Template category: AUTHENTICATION, UTILITY, or MARKETING.

languagestring required

Template language code (e.g. en_US, es, pt_BR).

Response

Successful response with Whatsapp template

Example response

{
  "data": {
    "record_type": "whatsapp_message_template"
  }
}

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the / response's property type changed from object to no type for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the response's body type changed from no type to object for status

    • breaking

      the / response's property type changed from no type to object for status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status

    • breaking

      the /// response's property format changed from json-pointer to no format for status