Create Template - With Header Document - Step 2

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

header_text String required

body String required

button_type String required

example_header_handle String required

example_header_file_path String required

Sample Request Body

{
    "name": "Welcome to  the meeting",
    "snake_case_name": "welcome_to_the_meeting",
    "category": "MARKETING",
    "language": "en_US",
    "header": "document",
    "header_text": "Welcome to our first meeting",
    "body": "Dear Customer,\n\nWelcome to the meeting",
    "button_type": "none",
    "example_header_handle": "4:UGF5UGFsIEFjdGl2aXRpZXMucGRm:YXBwbGljYXRpb24vcGRm:ARZgH9WoHojHYPAj2lHGv-OXILhSXW-Hj_5w-Xe4Mja3JH-FKHPXgHZSyBq-ZiJwX0qewQVB2BXwgd9yupzfEldDQOQ7LmYfee4USyStvpyXmw:e:1676369916:807925793680662:100087388140317:ARZoJ9lzlwQwcHP5kJ0",
    "example_header_file_path": "/storage/media/PayPal Activities.pdf"
}

Sample Response

{
}