Create Template - With Multiple Body Parameters

Endpoint

https://app.wabais.com/api/templates

Method

POST

Authentication

Bearer Token

Body Type

JSON

Parameters

name String required

snake_case_name String required

category String required

language String required

header String required

body String required

button_type String required

body_text_examples Array required

Sample Request Body

{
  "name": "Welcome to  the meeting",
  "snake_case_name": "welcome_to_the_meeting",
  "category": "MARKETING",
  "language": "en_US",
  "header": "none",
  "body": "Dear {{1}},\n\nWelcome to the meeting. We will start at {{2}} until {{3}}",
  "button_type": "none",
  "body_text_examples": [
    "John Doe",
    "10:00 am",
    "11:00 am"
  ]
}

Sample Response

{
}