Templates
Create a template
post/api/v1/whatsApp/templates
Request body
typestring
Template type, for example 'template'.
categorystring
High-level category of the template, e.g. MARKETING, UTILITY, AUTHENTICATION.
subCategorystring
Sub-category of the template, e.g. STANDARD, CAROUSEL, CATALOG, CHECKOUT_BUTTON, ORDER_STATUS, LIMITED_TIME_OFFER.
buttonsTypestring
Type of buttons configuration, e.g. NONE, quick_reply, call_to_action, quick_reply_and_call_to_action, order_details, checkout.
footerstring
Footer text of the template.
elementNamestring
Internal name of the template.
languagestring
Language code of the template, e.g. en, es, fr.
bodystring
Body text of the template, can include variables like {{name}}.
creationMethodinteger
Template creation method. 0 - HUMAN, 1 - AI, 2 - HUMAN_AND_AI.
Response
Create template success
okboolean
Indicates whether the template creation request was successful.