Get Templates


Get Templates allows you to see all the templates you have in your account. 


Settings:

URL

https://api.99digital.co.il/whatsapp/v2/getTemplates

Method

JSON via POST


Body:

Parameter

Description / Example

apiKey

Your API key for the service

from

your WhatsApp account. international number without +. for example: 972771234567


Response:

The way that the response is providing the information back is not the same as the way you submitted the template. the response shows an easy and understandable text.

{
"status": "OK",
"list":  [
    {
        "name": "template name",
        "language": "template language",
        "category": 1,
        "status": "approved",
        "template": [
          {
            "text": "hello {{1}}",
            "type": "header"
           },
           {
            "text": "thank you for coming",
            "type": "body"
            },
            {
            "text": "have a great day",
            "type": "footer"
            },
          ]
    }
]
}

Response-Explain:

Parameter

Description

status

OK or FAIL

list

array of information about your templates

list->name

The name of the template to use when you send a template message

list->language

the language you chose.

list->category

The template category

Value

Meaning

1

Utility template

2

Marketing template

3

Authentication template

list->status

Status

Meaning

approved

Approved to use by Meta

submitted

still under review

rejected

Rejected by Meta. you must create a new one with a different name

paused

The template was approved before, but received spam reports and therefor it is paused for 10 hours

deactivated

The template was approved before, but received massive spam reports for period of time. this template is disabled and can't be used anymore.