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.

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"
            }
          ]
        }
      ]
    }
  ]
}