{
"messageTemplateId": "111",
"messageTemplateName": "template_name",
"messageTemplateLanguage": "en",
"timestamp": "2019-11-09T16:00:00.000+0000",
"change": {
"type": "TEMPLATE_STATUS_UPDATE",
"newStatus": "APPROVED",
"reason": "NONE"
},
"entityId": 123456,
"applicationId": 1234567
}Receive whatsapp template update
For each message template you create, we can send you updates. For this to work you need to configure subscriptions. Refer to Subscriptions Management for additional info.
{
"messageTemplateId": "111",
"messageTemplateName": "template_name",
"messageTemplateLanguage": "en",
"timestamp": "2019-11-09T16:00:00.000+0000",
"change": {
"type": "TEMPLATE_STATUS_UPDATE",
"newStatus": "APPROVED",
"reason": "NONE"
},
"entityId": 123456,
"applicationId": 1234567
}Authorizations
This is the most secure authorization type and the one with the most flexibility.
API keys can be generated by calling the dedicated API method. Furthermore, API keys can have a limited scope and cover only some API methods. Lastly, they can be revoked at any time. This range of possibilities makes API keys well suited for separating the API access rights across multiple applications or use cases. Finally, the loss of an API key is easily manageable.
You can manage your API keys from GUI, or programmatically with dedicated API.
API key Authorization header example:
Authorization: App 003026bbc133714df1834b8638bb496e-8f4b3d9a-e931-478d-a994-28a725159ab9
Body
Template ID.
"111"
Name of the template.
"template_name"
Template language, one template with same name can have multiple transliterations.
af, sq, ar, ar_EG, ar_AE, ar_LB, ar_MA, ar_QA, az, bn, bn_IN, bg, ca, zh_CN, zh_HK, zh_TW, hr, cs, da, nl, nl_BE, en, en_GB, en_US, en_AE, en_AU, en_CA, en_GH, en_IE, en_IN, en_JM, en_MY, en_NZ, en_QA, en_SG, en_UG, en_ZA, et, fil, fi, fr, fr_BE, fr_CA, fr_CH, fr_CI, fr_MA, ka, de, de_AT, de_CH, el, gu, ha, he, hi, hu, id, ga, it, ja, kn, kk, rw_RW, ko, ky_KG, lo, lv, lt, mk, ms, ml, mr, nb, fa, pl, pt_BR, pt_PT, pa, ro, ru, sr, si_LK, sk, sl, es, es_AR, es_CL, es_CO, es_CR, es_DO, es_EC, es_HN, es_MX, es_PA, es_PE, es_ES, es_UY, sw, sv, ta, te, th, tr, uk, ur, uz, vi, zu, unknown "en"
Date and time when event occurred. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.
Change that has been applied to template.
- TemplateStatusPushEventChange
- TemplateCategoryPushEventChange
- TemplateQualityPushEventChange
Show child attributes
Show child attributes
Entity ID.
123456
Application ID.
1234567
Response
Your server returns this code if it accepts the callback.