Create a template

Body Params
string

Template type, for example 'template'.

string

High-level category of the template, e.g. MARKETING, UTILITY, AUTHENTICATION.

string

Sub-category of the template, e.g. STANDARD, CAROUSEL, CATALOG, CHECKOUT_BUTTON, ORDER_STATUS, LIMITED_TIME_OFFER.

string

Type of buttons configuration, e.g. NONE, quick_reply, call_to_action, quick_reply_and_call_to_action, order_details, checkout.

buttons
array of objects

List of buttons used in the template.

buttons
string
string

Internal name of the template.

string

Language code of the template, e.g. en, es, fr.

header
object

Header configuration of the template.

string

Body text of the template, can include variables like {{name}}.

customParams
array of objects

List of custom parameters to be used in the template.

customParams
integer

Template creation method. 0 - HUMAN, 1 - AI, 2 - HUMAN_AND_AI.

Response

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json