Templates

Create WhatsApp text message template (Endpoint)

Requires authentication — see Authentication.

Create a simple WhatsApp text message template. This type of message template allows you to predefine the configuration of text message and personalized fields (placeholders).

If you want to create the text message template via Message Templates API, you need to provide (required) the WhatsApp Business Account ID (wabaId).

To know how to create a text message template go to the Creating & Sending WhatsApp Text Message Template section.

post/v2/whatsapp/templates/

Request

  • Base URL
    https://elastic.messangi.me/balerion
  • URL
    https://elastic.messangi.me/balerion/v2/whatsapp/templates/
  • Auth
    HTTP bearer

Query parameters

wabaIdstring

Request body

namestring required

Name of the message template created in your WhatsApp Business Account.

The name of each message template you create cannot be the same.

category'MARKETING' | 'UTILITY' required

Type of message template.

Supported Message Template Categories for WhatsApp Text Message Template.

  • MARKETING: Send promotional offers, product announcements, and more to increase awareness and engagement.
  • UTILITY: Send account updates, order updates, alerts, and more to share important information.

Response

201

reasonstring

Example response

{
  "meta": {
    "timestamp": 1597166699457,
    "transactionId": "70169d77-c165-4795-9932-35b8a3af96fb",
    "explain": "a descriptive text"
  },
  "errors": {
    "reason": "a descriptive text"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.