Create Template - With Body Parameter

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 Our Business",
  "snake_case_name": "welcome_to_our_business",
  "category": "MARKETING",
  "language": "en_US",
  "header": "none",
  "body": "Dear {{1}},\n\nWelcome To Our Business",
  "button_type": "none",
  "body_text_examples": [
    "John Doe"
  ]
}

Sample Response

{
}