ChatAppAudit
Use Simple Message Queue (formerly MNS) to get the review notifications for message templates.
Prerequisites
You have an Alibaba Cloud account and an AccessKey pair. For more information, see Create an AccessKey.
You have reviewed the overview and configuration of message receipts and understand their modes, types, and configuration process. Then, configure the message receipts accordingly.
Message body format
V1
Parameter | Type | Required | Description |
WabaId | String | Yes | The WhatsApp Business Account (WABA) ID. Note After you create a WABA, obtain the WABA ID on the Business Manager platform. |
TemplateCode | String | Yes | The template code. Note 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 when the return value of AuditStatus is fail. |
V2
V2 is intended for ISVs that need to manage their customers' WABAs and phone number statuses. V1 supports only notifications about the review status of message templates and does not support managing WABAs or phone number statuses.
Parameter | Type | Required | Description |
WabaId | String | Yes | The WABA ID. Note After you create a WABA, obtain the WABA ID on the Business Manager platform. |
TemplateCode | String | Yes | The template code. Note 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 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
|