List Templates
Templates are messages pre-approved by WhatsApp that you can use to start conversations with your customers. They are required to contact users outside the 24-hour window.
Importante
Templates cannot be created through the API. They must be managed directly from the Platica platform or from the WhatsApp Manager inside the Facebook Business Portfolio.
Returns the list of every template available in your workspaces.
GET https://api.platica.mx/v1/templates Response
{
"workspaces": [
{
"id": "ws_123",
"wabaId": "xxxxxxxxxx",
"templateNamespace": "xxxx_xxx_xxx_xxxxxx",
"name": "Soporte Técnico",
"templates": [
{
"name": "bienvenida_cliente",
"params": ["nombre", "tipo_servicio"],
"buttons": [
{
"type": "text",
"text": "Servicio Vip"
}
]
}
]
}
]
}