Skip to main content
Version: 2.0

Template Quality

The payload structure for 'Template Quality' webhook is mentioned below as an example:

Payload

{
"eventCategory": "TEMPLATE_QUALITY",
"channel": "wa",
"timestamp": "abc",
"channelMetadata": {
"id": "10908...",
"changes": [
{
"value": {
"previous_quality_score": "<PREVIOUS_QUALITY_SCORE>",
"new_quality_score": "<NEW_QUALITY_SCORE>",
"message_template_name": "<TEMPLATE_NAME>",
"message_template_language": "<LANGUAGE_AND_LOCALE_CODE>"
},
"field": "message_template_quality_update"
}
]
}
}

The details are mentioned below:

AttributeDescription
typeTemplate_Quality.
channelWA
timestampTimestamp value.
channelMetadata(object)Highlighting metadata of the event.

The details of 'channelMetadata' object is as mentioned below:

AttributeDescription
idWABA ID
changes (object)Highlighting the changes.

The details of 'Changes' object is as mentioned below:

AttributeDescription
value(Object)Highlighting changes details.
fieldFixed Value: message_template_quality_update.

The details of value object for 'Template Quality' is as mentioned below:

AttributeDescription
previous_quality_scorePrevious quality score.
new_quality_scoreNew quality score of the template.
message_template_languageTemplate language code.
message_template_nameTemplate name.