Obtains the review reports of a message template created in the Chat App Message Service console using a Simple Message Queue (SMQ, formerly MNS) queue.
Prerequisites
You have registered an Alibaba Cloud account and created an AccessKey pair. For more information, see Create an AccessKey pair.
You have read Introduction and configuration process of message receipts. You understand the mode, type, and configuration process of message receipts.
To configure template review status messages, see Configure template review status messages.
Message body format
V1
Name | Type | Required | Description |
WabaId | String | Yes | The WhatsApp Business Account (WABA) ID. Note Obtain the required information from the official WhatsApp website after you register for WhatsApp. |
TemplateCode | String | Yes | The template code. Note You can view the template code in the template list on the Template Design page of the Chat App Message Service console or obtain it by calling the ListChatappTemplate operation. |
Language | String | Yes | The template language. |
AuditStatus | String | Yes | The review status of the message template. Valid values:
|
Reason | String | No | The reason for the review failure. Note A value is returned for this parameter when the return value of AuditStatus is fail. |
V2
V2 is used when the independent software vendor (ISV) needs to manage the WABAs and phone numbers of their customers.
Name | Type | Required | Description |
WabaId | String | Yes | The WABA ID. Note After you register for WhatsApp, you can download it from the official WhatsApp website. |
TemplateCode | String | Yes | The template code. Note You can obtain the template code on the Template Design page in the Chat App Message Service console or by calling the ListChatappTemplate operation. |
Language | String | Yes | The template language. |
AuditStatus | String | Yes | The review status of the message template. Valid values:
|
Reason | String | No | The reason for the review failure. Note A value is returned for this parameter when the return value of AuditStatus is fail. |
Type | String | Yes | The type of the notification. Valid values:
Note If the return value of Type is template, the parameters in the review report of V2 are the same as those in the review report of V1. |
PhoneNumber | String | No | The phone number. Note
|
Status | String | No | The status. Note
|
CurrentLimit | String | No | The maximum number of messages that the phone number can send in a day. Note
|