📖Templates

This part of the documentation describes how to get templates via WhatsApp Business API.

Ensure that your templates meet Facebook's strict Message Template Guidelines.

Get template list

You can use the WhatsApp Business Management API to get a list of your existing message templates.

Get WhatsApp Templates

GET https://api.whatso.net/v1/message_templates

Query Parameters

{
  "data": [
    {
      "name": "template_name",
      "components": [
        {
          "type": "BODY",
          "text": "Message Text",
          "example": {
            "body_text": [
              [
                "example parameter value"
              ]
            ]
          }
        }
      ],
      "language": "en_US",
      "status": "APPROVED",
      "category": "ALERT_UPDATE",
      "id": "5038022xxxxxxx"
    }
  ],
  "paging": {
    "cursors": {
      "before": "MAZDZD",
      "after": "MjQZD"
    },
    "next": "https://graph.facebook.com/v14.0/"
  }
}

Last updated