Fetch templates for WhatsApp and other channels - and check their variable data.
Outbound messaging through WhatsApp often requires to use pre-approved templates. Those templates bear different user-facing functionality, such as quick-reply buttons, or quick-actions buttons (also know as CTA buttons).
You can list all your templates, check the status of specific templates, or delete templates via the API.
The template and their variable keys and data types are important to work with when sending messages of type
template
.
By the way, sometimes you want to send messages with a similar patterns on more channels but WhatsApp. For this case, you can use generic templates that are pre-defined text messages holding a number of variables. Fetch the variables keys and use them when sending templates through the send message
endpoint.