Get Templates
Get Templates allows you to see all the templates you have in your account.
Settings:
URL | |
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
| ||||||||||||
list->status |
|