Create a template

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Your WATI workspace (tenant) ID. This required path segment identifies the WATI account for legacy v1 and v2 API requests.

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

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
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json