webhook
对提供的webhook地址,进行WhatsApp业务相关的推送信息(目前webhook支持推送状态回复,消息回复,模板状态更新,WABA账号更新)
- URL:
webhook_url
- Method:
POST
- Content-Type:
application/json
状态回复
对调用WhatsApp-API发送消息的场景,提供消息的回执情况
验签说明
对于客户应用配置了回执加签算法
,所有的回执请求服务端都会进行加签处理,客户端可自行对回执请求进行验签处理,验签算法请参照签名算法
响应参数
body参数:
参数名 |
类型 |
说明 |
statuses |
array[status JsonObject] |
状态对象 |
business_phone |
String |
商户电话 |
messaging_product |
String |
消息类型,固定值”whatsapp“ |
参数名 |
类型 |
说明 |
conversation |
JsonObject |
会话信息 |
errors |
array[error JsonObject] |
错误信息 |
recipient_id |
String |
收件人WhatsApp_id |
timestamp |
String |
回调时间戳 |
status |
String |
消息的状态,sent(已发送),delivered(已送达),read(已读),failed(发送失败) |
id |
String |
消息ID(发送消息时返回的ID) |
costs |
array[cost object] |
费用信息 |
meta_message_id |
String |
meta原始消息ID, 该字段不一定存在; 发送引用消息时可能用到该字段值,id与meta_message_id 并存时使用meta_message_id作为被引用的消息id,否则使用id |
biz_opaque_callback_data |
String |
发送消息时携带的追踪参数 |
pricing |
JsonObject |
计费模式 |
参数名 |
类型 |
说明 |
id |
String |
会话ID |
expiration_timestamp |
String |
会话过期时间戳 |
origin |
JsonObject |
会话类型信息 |
参数名 |
类型 |
说明 |
type |
String |
会话类型,marketing(营销会话),utility(通知会话),authentication(验证会话),service(服务会话),referral_conversion(免费会话),marketing_lite(MM Lite API会话) |
参数名 |
类型 |
说明 |
billable |
boolean |
指示给定消息或对话是否计费。值因定价模型而异。1. 如果对话是从自由入口点false发起的,则此标志设置为。从免费入口点发起的对话不计费2. 对于所有其他对话,它设置为true |
category |
String |
authentication — 表示身份验证模板消息 authentication_international — 表示向具有身份验证国际价格的国家或地区境内的 WhatsApp 用户发送的身份验证模板消息。marketing — 表示营销模板消息utility — 表示交易相关模板消息service — 表示非模板消息 referral_conversion — 表示该消息是免费接入点对话的一部分 |
pricing_model |
String |
CBP — 表示对话导向型定价适用 PMP — 表示单条消息定价适用 |
type |
String |
regular — 表示消息需要付费 free_customer_service — 表示消息免费,因为该消息是在客户服务时间窗内发送的交易相关模板消息或非模板消 free_entry_point — 表示消息免费,因为该消息是免费接入点对话的一部分 |
参数名 |
类型 |
说明 |
code |
Integer |
平台错误码(错误码说明) |
meta_code |
Integer |
meta错误码 |
title |
String |
错误信息 |
参数名 |
类型 |
说明 |
currency |
String |
币种 |
price |
number |
客户售价(本币CNY) |
foreign_price |
number |
客户售价(外币) |
cdr_type |
Integer |
cdr类型, 1(消息),4(营销会话),5(通知会话),6(验证会话),7(服务会话),8(免费会话) |
message_id |
String |
wa消息id |
direction |
Integer |
方向,1(下行),2(上行) |
响应示例
消息已发送
{
"app_id": "48",
"business_phone": "xxx",
"channel": 2,
"merchant_phone": "xxx",
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "xxx",
"phone_number_id": "xxx"
},
"statuses": [
{
"conversation": {
"expiration_timestamp": "1750644366",
"id": "f9df70c0f6ec5413e57ff99d51792e41",
"origin": {
"type": "marketing"
}
},
"costs": [
{
"cdr_type": 4,
"currency": "CNY",
"direction": 1,
"foreign_price": 11,
"message_id": "wamid.HBgNODYxMzMyMDIzNzQ0NhUCABEYEjA2RDk1OThCMkJGQ0FFRDJERQA=",
"price": 1.5444
}
],
"id": "wamid.b6caa84cad3c401090640edf0eff7fa3",
"meta_message_id": "wamid.HBgNODYxMzMyMDIzNzQ0NhUCABEYEjA2RDk1OThCMkJGQ0FFRDJERQA=",
"pricing": {
"billable": true,
"category": "marketing",
"pricing_model": "PMP",
"type": "regular"
},
"recipient_id": "xxx",
"status": "sent",
"timestamp": "1750644366"
}
],
"wabaId": "xxx"
}
消息已送达
{
"app_id": "48",
"business_phone": "xxx",
"channel": 2,
"merchant_phone": "xxx",
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "xxx",
"phone_number_id": "661162737077678"
},
"statuses": [
{
"conversation": {
"id": "e0eea618562a40f99211ea617241b784",
"origin": {
"type": "marketing"
}
},
"id": "wamid.b3316b3b6d7c4dfd8f1a077aa8787140",
"meta_message_id": "wamid.HBgNODYxMzMyMDIzNzQ0NhUCABEYEjgwQ0Q4NTk1Q0I4RkZDMjlEMAA=",
"pricing": {
"billable": true,
"category": "marketing",
"pricing_model": "PMP",
"type": "regular"
},
"recipient_id": "xxx",
"status": "delivered",
"timestamp": "1750644491"
}
],
"wabaId": "xxx"
}
消息已读
{
"app_id": "48",
"business_phone": "xxx",
"channel": 2,
"merchant_phone": "xxx",
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "xxx",
"phone_number_id": "xxx"
},
"statuses": [
{
"conversation": {
"id": "e0eea618562a40f99211ea617241b784",
"origin": {
"type": "marketing"
}
},
"id": "wamid.b3316b3b6d7c4dfd8f1a077aa8787140",
"meta_message_id": "wamid.HBgNODYxMzMyMDIzNzQ0NhUCABEYEjgwQ0Q4NTk1Q0I4RkZDMjlEMAA=",
"pricing": {
"billable": true,
"category": "marketing",
"pricing_model": "PMP",
"type": "regular"
},
"recipient_id": "xxx",
"status": "delivered",
"timestamp": "1750644491"
}
],
"wabaId": "xxx"
}
消息发送失败
错误码说明
code |
message |
解决办法 |
9001 |
System business error |
平台错误,请联系相关人员排查 |
10000 |
Meta Error |
WhatsApp官方发送错误,详情参见meta_code、title |
10001 |
Wa Engine Error |
WhatsApp-Engine上游错误,请联系相关人员排查 |
10002 |
Wa Engine Send Message Timeout |
WhatsApp-Engine发送超时,请联系相关人员排查 |
{
"statuses": [
{
"id": "wamid.2e27ab39dbxxxxxxxb124a74b8",
"errors": [
{
"code": 9001,
"title": "System business error()"
}
],
"recipient_id": "3934xxxxx6000",
"status": "failed",
"timestamp": "1723604140"
}
],
"business_phone": "8523xxxxx862",
"messaging_product": "whatsapp"
}
{
"statuses": [
{
"errors": [
{
"code": 10000,
"meta_code": 132001,
"title": "Meta Error((#132001) Template name does not exist in the translation)"
}
],
"id": "ID",
"recipient_id": "WHATSAPP_ID",
"status": "failed",
"timestamp": "TIMESTAMP"
}
]
}
{
"statuses": [
{
"id": "wamid.302061d8f10d47fea6136ba290a2bda7",
"errors": [
{
"code": 10000,
"meta_code": 132005,
"title": "Meta Error((#132005) Translated text too long)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713504965"
}
]
}
{
"statuses": [
{
"id": "wamid.c14d12fc44d1439c92adf69b4e5a2a43",
"errors": [
{
"code": 10000,
"meta_code": 131009,
"title": "Meta Error((#131009) Parameter value is not valid)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713503819"
}
]
}
{
"statuses": [
{
"id": "wamid.456b7a1001754b0a8518517868071de8",
"errors": [
{
"code": 10000,
"meta_code": 100,
"title": "Meta Error((#100) Invalid parameter)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713500742"
}
]
}
{
"statuses": [
{
"id": "wamid.db8cc8d4a8bb4a969df274e25857cca5",
"errors": [
{
"code": 10000,
"meta_code": 131000,
"title": "Meta Error((#131000) Something went wrong)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713472479"
}
]
}
{
"statuses": [
{
"id": "wamid.3a9eefbbc792486da5850822dedcd8de",
"errors": [
{
"code": 10000,
"meta_code": 130429,
"title": "Meta Error((#130429) Rate limit hit)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713367837"
}
]
}
{
"statuses": [
{
"id": "wamid.f9f92a5a951749898060a257bd5668bb",
"errors": [
{
"code": 10000,
"meta_code": 132000,
"title": "Meta Error((#132000) Number of parameters does not match the expected number of params)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1713426137"
}
]
}
{
"statuses": [
{
"id": "wamid.e8c6b1835fed401a8786ab1547ebf5af",
"errors": [
{
"code": 10000,
"meta_code": 10,
"title": "Meta Error((#10) Application does not have permission for this action)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1712983756"
}
]
}
{
"statuses": [
{
"id": "wamid.d7cbc64872dc46ffabf76b8087d39933",
"errors": [
{
"code": 10000,
"meta_code": 131056,
"title": "Meta Error((#131056) (Business Account, Consumer Account) pair rate limit hit)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1712912513"
}
]
}
{
"statuses": [
{
"id": "wamid.d7cbc64872dc46ffabf76b8087d39933",
"errors": [
{
"code": 10000,
"meta_code": 131008,
"title": "Meta Error((#131008) Parameter of type text is missing text value)"
}
],
"recipient_id": "96650xxxx431",
"status": "failed",
"timestamp": "1712912513"
}
]
}
{
"statuses": [
{
"id": "wamid.8caca9c7fxxxxxxxx2cd1a9a2111",
"errors": [
{
"code": 10001,
"title": "Wa Engine Error(获取meta message id 失败)"
}
],
"recipient_id": "386xxxx1268",
"status": "failed",
"timestamp": "1723500463"
}
],
"business_phone": "852664xxxx105",
"messaging_product": "whatsapp"
}
{
"statuses": [
{
"id": "wamid.807ff7e5026d4a4xxxx532a244232444",
"errors": [
{
"code": 10002,
"title": "Wa Engine Send Message Timeout"
}
],
"recipient_id": "417xxxx9752",
"status": "failed",
"timestamp": "1723337517"
}
],
"business_phone": "852xxxx3862",
"messaging_product": "whatsapp"
}
Meta回调失败
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852xxxx3862",
"phone_number_id": "161169xxxx19812"
},
"statuses": [
{
"meta_message_id": "wamid.HBgMMzkzNTA1OTYxxxxxxERgSMTJEQjQzNEYwRUEzNUI3ODY1AA==",
"id": "wamid.4e03bc5bc12d4xxxxa51a9380c4bfb6",
"recipient_id": "3935xxxx2976",
"status": "failed",
"timestamp": "1723337288",
"errors": [
{
"code": 131026,
"title": "Message Undeliverable."
}
]
}
],
"app_id": "xxx",
"business_phone": "852xxxx3862",
"merchant_phone": "852xxxx3862",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852xxxx3862",
"phone_number_id": "161169xxxx19812"
},
"statuses": [
{
"meta_message_id": "wamid.HBgMOTY2NTU3ODk1OTIzxxxxxxxGRjFFNzNFRUE1N0YxRDQyAA==",
"id": "wamid.eb78c85b970f4xxxxfdaba8a0f350128",
"recipient_id": "9665xxxx5923",
"status": "failed",
"timestamp": "1723337111",
"errors": [
{
"code": 131053,
"title": "Unsupported Image mime type image/webp. Please use one of image/png, image/jpeg."
}
]
}
],
"app_id": "xxx",
"business_phone": "852xxxx3862",
"merchant_phone": "852xxxx3862",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852xxxx3313",
"phone_number_id": "24094xxxx439281"
},
"statuses": [
{
"meta_message_id": "wamid.HBgLODUyNTQxxxxxxxxI5MTkwRkIzQTlBMEY3RDQ0NjYA",
"id": "wamid.30bf536d5ad6xxxxxxe144dcf31",
"recipient_id": "852xxxxx409",
"status": "failed",
"timestamp": "1723345890",
"errors": [
{
"code": 130472,
"title": "Failed to send message because this user's phone number is part of an experiment",
"href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"
}
]
}
],
"app_id": "xxx",
"business_phone": "852xxxxx313",
"merchant_phone": "852xxxxx313",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "6221xxxx0365",
"phone_number_id": "10652xxxx19185"
},
"statuses": [
{
"meta_message_id": "wamid.HBgNNjI4NTIzNjg5ODAzNhUCABIYIDxxxxxxxxxxxxxxxxxxxTJFNEVFNDIyNDJCRDE4MzUzAA==",
"id": "wamid.HBgNNjI4NTIzNjg5ODAzNhUCABIYIDxxxxxxxxxxxxxxxxxxxTJFNEVFNDIyNDJCRDE4MzUzAA==",
"recipient_id": "62852xxxx8036",
"status": "failed",
"timestamp": "1723370701",
"errors": [
{
"code": 131052,
"title": "Incoming media file validation failed or the received media is in incorrect format, please ask the sender to resend the media message."
}
]
}
],
"app_id": "xxx",
"business_phone": "62852xxxx8036",
"merchant_phone": "62852xxxx8036",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "62852xxxx8036",
"phone_number_id": "271352389392750"
},
"statuses": [
{
"meta_message_id": "wamid.HBgKNTkyNjIxMzcxMRsxxxxxxxxFNkI5MkVDMDlCMUY5OTE1QgA=",
"id": "wamid.870f44e7a4xxxxxxxx4a7763938e7009",
"recipient_id": "5926213711",
"status": "failed",
"timestamp": "1723441066",
"errors": [
{
"code": 131009,
"title": "Cannot react to a message if it's more than 30 days old or doesn't correspond to any message in the conversation."
}
]
}
],
"app_id": "xxx",
"business_phone": "62852xxxx8036",
"merchant_phone": "62852xxxx8036",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "62852xxxx8036",
"phone_number_id": "10347xxxx349406"
},
"statuses": [
{
"meta_message_id": "wamid.HBgNNDkxNTIwNjYxMDI5MhUCABEYEkFGNzUwMDExNDAyQUQ0OUY4QwA=",
"id": "wamid.db05dcfd6a5347ac9d97c27e5e7ab68d",
"recipient_id": "4915206610292",
"status": "failed",
"timestamp": "1723444780",
"errors": [
{
"code": 131047,
"title": "Message failed to send because more than 24 hours have passed since the customer last replied to this number.",
"href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"
}
]
}
],
"app_id": "xxx",
"business_phone": "62852xxxx8036",
"merchant_phone": "62852xxxx8036",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "62852xxxx8036",
"phone_number_id": "268080186388284"
},
"statuses": [
{
"meta_message_id": "wamid.HBgMOTcxNTAzMTEwOxxxxxxxxx0ODJEN0ZFRUU4AA==",
"id": "wamid.e5fee94051bf4929xxxx31beb6821",
"recipient_id": "971503110900",
"status": "failed",
"timestamp": "1723464255",
"errors": [
{
"code": 131000,
"title": "Something went wrong."
}
]
}
],
"app_id": "xxx",
"business_phone": "62852xxxx8036",
"merchant_phone": "62852xxxx8036",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852664xxxx105",
"phone_number_id": "277xxxxxxxxx8733"
},
"statuses": [
{
"meta_message_id": "wamid.HBgNNjI4MjI3Nzg4OTU5ORUCxxxxxxxxxM3QzlERDUxQjNBQQA=",
"id": "wamid.f40485e53bd1xxxxxxxxxc669c3a",
"recipient_id": "6282xxxxxxx9599",
"status": "failed",
"timestamp": "1723616606",
"errors": [
{
"code": 131031,
"title": "Business account has been locked.",
"href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"
}
]
}
],
"app_id": "xxx",
"business_phone": "852664xxxx105",
"merchant_phone": "852664xxxx105",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852664xxxx105",
"phone_number_id": "17205xxxxx1593"
},
"statuses": [
{
"meta_message_id": "wamid.HBgLMzM3NjIxNjxxxxxxxxxxxxxjg4RUQyRUFBNjFFOTUA",
"id": "wamid.61e1f287fxxxxxxx1e37e75adaa6",
"recipient_id": "337xxxxx383",
"status": "failed",
"timestamp": "1723639940",
"errors": [
{
"code": 131048,
"title": "Message failed to send because there are restrictions on how many messages can be sent from this phone number.This may be because too many previous messages were blocked or flagged as spam.",
"href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"
}
]
}
],
"app_id": "xxx",
"business_phone": "852664xxxx105",
"merchant_phone": "852664xxxx105",
"channel": 2
}
{
"messaging_product": "whatsapp",
"metadata": {
"display_phone_number": "852664xxxx105",
"phone_number_id": "17205xxxxx1593"
},
"statuses": [
{
"meta_message_id": "wamid.HBgNNTIxODQ0NjEwODU2ORUCABEYExxxxxxFOERBRjlERDg4NkU4QwA=",
"id": "24a44ec9155145b9xxxxxx28b148b11",
"recipient_id": "521xxxxxx8569",
"status": "failed",
"timestamp": "1726630150",
"errors": [
{
"code": 131049,
"title": "In order to maintain a healthy ecosystem engagement, the message failed to be delivered.",
"href": "https://developers.facebook.com/docs/whatsapp/cloud-api/support/error-codes/"
}
]
}
],
"app_id": "749",
"business_phone": "852664xxxx105",
"merchant_phone": "852664xxxx105",
"channel": 2
}
消息回复
对WhatsApp用户发送消息到商户号码的场景,提供入站消息的推送情况
响应参数
body参数:
参数名 |
类型 |
说明 |
contacts |
array[contact JsonObject] |
提供联系人的信息 |
messages |
array[message JsonObject] |
入站消息 |
business_phone |
String |
商户电话 |
messaging_product |
String |
消息类型,固定值”whatsapp“ |
参数名 |
类型 |
说明 |
profile |
JsonObject |
配置文件对象 |
wa_id |
String |
联系人的 WhatsApp ID |
参数名 |
类型 |
说明 |
name |
String |
发件人的配置文件名称 |
参数名 |
类型 |
说明 |
from |
String |
发件人的 WhatsApp ID |
id |
String |
消息标识,此 ID 可用于将消息标记为已读 |
timestamp |
String |
消息接收时间戳 |
type |
String |
支持接收的消息类型1. text 文本2. image 图片3. video 视频4. voice 语音5. audio 音频6. document 文件7. location 位置8. sticker 贴图表情 9. interactive 互动消息 10. order 下单消息11. referral 被广告引流来的客户消息12. reaction 心情消息 |
context |
JsonObject |
仅在用户回复或与您的消息之一互动时存在 |
cost |
JsonObject |
费用信息 |
参数名 |
类型 |
说明 |
currency |
String |
币种 |
price |
number |
客户售价(本币CNY) |
foreign_price |
number |
客户售价(外币) |
cdr_type |
Integer |
cdr类型,4营销 5通知 6验证 7服务 8广告推广这五个类型 |
message_id |
String |
wa消息id |
direction |
Integer |
方向,1(下行),2(上行) |
- 文本消息参数:
参数名 |
类型 |
说明 |
text |
JsonObject |
参照响应示例 文本消息内容,type=text时有值 |
参数名 |
类型 |
说明 |
body |
String |
消息文本 |
- 图片消息参数:
参数名 |
类型 |
说明 |
image |
JsonObject |
参照响应示例 图片消息内容,type=image时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
caption |
String |
图片的描述 |
mime_type |
String |
媒体文件的MiME类型 |
sha256 |
String |
媒体文件的校验签名 |
- 视频消息参数:
参数名 |
类型 |
说明 |
video |
JsonObject |
参照响应示例 视频消息内容,type=video时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
caption |
String |
视频的描述 |
mime_type |
String |
媒体文件的MiME类型 |
sha256 |
String |
媒体文件的校验签名 |
- 语音消息参数:
参数名 |
类型 |
说明 |
voice |
JsonObject |
参照响应示例 语音消息内容,type=voice时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
mime_type |
String |
媒体文件的MiME类型 |
sha256 |
String |
媒体文件的校验签名 |
- 音频消息参数:
参数名 |
类型 |
说明 |
audio |
JsonObject |
参照响应示例 音频消息内容,type=audio时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
mime_type |
String |
媒体文件的MiME类型 |
sha256 |
String |
媒体文件的校验签名 |
- 文档消息参数:
参数名 |
类型 |
说明 |
document |
JsonObject |
参照响应示例 文档消息内容,type=document时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
mime_type |
String |
媒体文件的MiME类型 |
sha256 |
String |
媒体文件的校验签名 |
filename |
String |
文档文件名称 |
- 位置消息参数:
参数名 |
类型 |
说明 |
location |
JsonObject |
参照响应示例 位置消息内容,type=location时有值 |
参数名 |
类型 |
说明 |
longitude |
String |
位置的经度信息 |
latitude |
String |
位置的维度信息 |
name |
String |
位置的名称 |
address |
String |
位置的详细地址信息 |
- 贴图表情消息参数:
参数名 |
类型 |
说明 |
sticker |
JsonObject |
参照响应示例 贴图表情消息内容,type=sticker时有值 |
参数名 |
类型 |
说明 |
id |
String |
媒体存储的id,可用于获取媒体链接 |
- 互动消息参数:
参数名 |
类型 |
说明 |
type |
String |
button_reply (按钮回复) list_reply(列表回复) nfm_reply(表单提交) |
button_reply |
JsonObject |
当客户点击按钮时发送,具有该属性的对象。 |
list_reply |
JsonObject |
当客户从列表中选择一个项目时发送,具有该属性的对象。 |
nfm_reply |
JsonObject |
|
- button_reply 或者 list_reply object参数:
参数名 |
类型 |
说明 |
id |
String |
按钮id |
title |
String |
标题 |
description |
String |
选项描述,list_reply才有 |
参数名 |
类型 |
说明 |
name |
String |
固定为 flow |
body |
String |
消息提交后的文案 |
response_json |
String |
flow的json数据. The structure is either defined in flow JSON (see Complete action) or, if flow is using an endpoint, controlled by endpoint (see Final Response Payload in Data Exchange Request) |
- 下单消息参数:
参数名 |
类型 |
说明 |
order |
JsonObject |
参照响应示例 type=order时有值 |
参数名 |
类型 |
说明 |
catalog_id |
String |
目录id |
text |
String |
当客户点击按钮时发送,具有该属性的对象。 |
product_items |
Array[JsonObject] |
当客户从列表中选择一个项目时发送,具有该属性的对象。 |
参数名 |
类型 |
说明 |
product_retailer_id |
String |
目录中产品的唯一标识符 |
quantity |
Number |
物品数量 |
item_price |
Number |
每个物品的价格 |
currency |
String |
货币类型 |
- 引用消息参数:
参数名 |
类型 |
说明 |
from |
String |
被引用消息来源号码 |
id |
String |
消息id |
meta_message_id |
String |
meta消息id(不一定存在) |
forwarded |
Boolean |
如果商家收到的该消息已被转发,则设置为true |
frequently_forwarded |
Boolean |
如果商家收到的该消息已被转发超过5次,则设置为true。 |
referred_product |
JsonObject |
引用回复商品消息时含有该对象 |
- referred_product object参数:
参数名 |
类型 |
说明 |
catalog_id |
String |
目录id |
product_retailer_id |
String |
目录中产品的唯一标识符 |
- 广告引入客户的消息参数:
参数名 |
类型 |
说明 |
referral |
JsonObject |
消息响应示例 当客户点击一个广告且该广告将他们重定向到WhatsApp时, 此对象会包含在消息对象中 |
参数名 |
类型 |
说明 |
source_url |
String |
指向客户点击的广告或帖子的Meta URL。 打开这个URL将会看到客户视角的广告 |
source_type |
String |
广告或帖子的Meta ID |
headline |
String |
广告或帖子中使用的标题 |
body |
String |
广告或帖子的正文 |
media_type |
String |
广告或帖子中存在的媒体类型;图片或视频 |
image_url |
String |
当媒体类型为图片时的图片URL |
video_url |
String |
当媒体类型为视频时的视频URL |
thumbnail_url |
String |
当媒体类型为视频时的缩略图URL |
ctwa_clid |
String |
由Meta为点击至WhatsApp的广告生成的点击ID |
- reaction消息参数:
参数名 |
类型 |
必选 |
示例值 |
说明 |
reaction |
JsonObject |
否 |
参照请求示例 |
心情消息内容,type=reaction必填 |
参数名 |
类型 |
必选 |
示例值 |
说明 |
meta_message_id |
String |
是 |
- |
meta消息id |
message_id |
String |
是 |
- |
消息回复id,例如:wamid.HBgNODYxMzE2MzczMTQ2NxUCABIYEkVCQkE4NjdGRUE5RDgyQzg0RAA= |
emoji |
String |
是 |
- |
表情 例如:"❤️" |
响应示例
文本消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQNkLO2ipL1_ZpZ41mwgMHEg",
"text": {
"body": "你好"
},
"timestamp": "1663053831",
"type": "text",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQNkLO2ipL1_ZpZ41mwgMHEg",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
图片消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQk5kC-xMSoi3XpEwoF2ZkIg",
"image": {
"id": "2bc7102f-5491-40b1-a92f-338303eab9d3",
"mime_type": "image/jpeg",
"sha256": "0ed3d9d4db83ed7751314af5f2e9bf008edc49a101bebb9054a97f824cf2136b"
},
"timestamp": "1663053029",
"type": "image",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQk5kC-xMSoi3XpEwoF2ZkIg",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
视频消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQysyxXFholwoQ-lCwUTTWfw",
"timestamp": "1663054466",
"type": "video",
"video": {
"id": "bfc0619d-995e-49da-9869-e911a34c43b9",
"mime_type": "video/mp4",
"sha256": "e0ceec95f44fec6282ab02f947ee92dbe481dacf0478618a997580a822acc88b"
},
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQysyxXFholwoQ-lCwUTTWfw",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
语音消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQyrJn0a5IBKlmHZqf_uAuFw",
"timestamp": "1663055136",
"type": "voice",
"voice": {
"id": "25fdf335-d846-4e6c-9aa8-35f25abc564c",
"mime_type": "audio/ogg; codecs=opus",
"sha256": "f321ac774459c50e376048d6f2c02fc2c14f13be85c5e52a67ec16a358b34de7"
},
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQyrJn0a5IBKlmHZqf_uAuFw",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
音频消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"audio": {
"id": "aab95384-fc19-4136-a330-97e1f8a4cb02",
"mime_type": "audio/mpeg",
"sha256": "9a73ab6362694fba48a5027c8443ceb34838009601ce480d85f08c600cf520f1"
},
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQdSLi6R7UCDSsCqNkjrtczg",
"timestamp": "1663053098",
"type": "audio",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQdSLi6R7UCDSsCqNkjrtczg",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx819",
"messaging_product": "whatsapp"
}
文档消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"document": {
"caption": "null.txt",
"filename": "null.txt",
"id": "806bb2f3-d8cc-4477-8b4d-d89df862f6c0",
"mime_type": "text/plain",
"sha256": "90c7bd7c509aa1d68c09a67b9ba2d17022a6861681fbd75c8845ee48193e8646"
},
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQGvyQjDNptdnjvjN0dkD90Q",
"timestamp": "1663052759",
"type": "document",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQGvyQjDNptdnjvjN0dkD90Q",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
位置消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQO8HTCPOtJUZLNLRo2dPufw",
"location": {
"address": "深圳市, 广东",
"latitude": 22.550802897696343,
"longitude": 113.93844723701477,
"name": "KFC (肯德基)",
"url": "http://www.kfc.com.cn"
},
"timestamp": "1663053163",
"type": "location",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQO8HTCPOtJUZLNLRo2dPufw",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
贴图表情消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "ABGHhhdgYFCBnwIQ1kuKFSU5LfuDxSUPOjKIwA",
"sticker": {
"id": "1b0a4c77-c5e7-44fa-b2a3-b69941ed3c64",
"metadata": {
"emojis": [
"☕",
"🙂"
],
"is-first-party-sticker": 1,
"sticker-pack-id": "whatsappcuppy"
},
"mime_type": "image/webp",
"sha256": "98267fedaeac67a4cc6b5e18a2444249fba5b6363a690115139675d53a63b0ff"
},
"timestamp": "1663054803",
"type": "sticker",
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 4,
"message_id": "ABGHhhdgYFCBnwIQ1kuKFSU5LfuDxSUPOjKIwA",
"direction": 1
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
互动消息快速回复响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"context": {
"from": "86176xxxx0819",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgARGBJDNDI1ODA3QzE0NkEwMUY1NjQA"
},
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTc1OEVGOEFBQ0U4QkIwNzFCOQA=",
"timestamp": "1701849537",
"type": "interactive",
"interactive": {
"type": "button_reply",
"button_reply": {
"id": "2",
"title": "不愿意"
}
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTc1OEVGOEFBQ0U4QkIwNzFCOQA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
互动消息列表响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"context": {
"from": "86176xxxx0819",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgARGBI2NDFBRDA4NzcyOUU3NUJDODIA"
},
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQUVGMzA0MDM0QUZGRUJGOTRCMgA=",
"timestamp": "1701850329",
"type": "interactive",
"interactive": {
"type": "list_reply",
"list_reply": {
"id": "2",
"title": "牛肉面",
"description": "红烧牛肉面"
}
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQUVGMzA0MDM0QUZGRUJGOTRCMgA=",
"direction": 2
}
}
]
,
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
商品消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"context": {
"from": "86176xxxx0819",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgARGA9wcm9kdWN0X2lucXVpcnkA",
"referred_product": {
"catalog_id": "310639698193384",
"product_retailer_id": "qnp7xflxk9"
}
},
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTQ0MEI2Rjc4MURCM0VFOTQwMwA=",
"timestamp": "1701846846",
"type": "text",
"text": {
"body": "我想要"
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTQ0MEI2Rjc4MURCM0VFOTQwMwA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
下单消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTJEQ0M5MEM0OURFNjZDQjY0MQA=",
"timestamp": "1701847162",
"type": "order",
"order": {
"catalog_id": "310639698193384",
"text": "",
"product_items": [
{
"product_retailer_id": "h0v6snwgg6",
"quantity": 1.0,
"item_price": 124.0,
"currency": "CNY"
},
{
"product_retailer_id": "qnp7xflxk9",
"quantity": 1.0,
"item_price": 1000.0,
"currency": "CNY"
}
]
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTJEQ0M5MEM0OURFNjZDQjY0MQA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
flow表单提交消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"context": {
"from": "86176xxxx0819",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgARGBJFRjIzOTZGNDhBOTRCQTIzNjcA"
},
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTkxRUFCRTc2QjJBRTZBQ0ZEMwA=",
"timestamp": "1701847428",
"type": "interactive",
"interactive": {
"type": "nfm_reply",
"nfm_reply": {
"response_json": "{\"screen_0_RadioButtonsGroup_0\":\"0_10分\",\"flow_token\":\"AQAAAAACS5FpgQ_cAAAAAD0QI3s\",\"screen_0_TextInput_1\":\"好评,满意\"}",
"body": "已发送",
"name": "flow"
}
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTkxRUFCRTc2QjJBRTZBQ0ZEMwA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
广告引入客户的消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "wamid.HBgNODYxMzE2MzczMTQ2NxUCABIYIDM3REYzQUZEMzQ5MDY1RkYxQjg4NEY0NURBMjg3QUIxAA==",
"timestamp": "1700222189",
"type": "text",
"text": {
"body": "您好,我想多了解一些信息。"
},
"referral": {
"headline": "与我们聊天",
"source_type": "ad",
"source_id": "120200744305620497",
"source_url": "https://fb.me/6cf1tN8rT"
},
"cost": {
"currency": "USD",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgNODYxMzE2MzczMTQ2NxUCABIYIDM3REYzQUZEMzQ5MDY1RkYxQjg4NEY0NURBMjg3QUIxAA==",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
引用消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"context": {
"from": "86176xxxx0819",
"id": "wamid.d148508dce0149c9aca912ea6fb6035d",
"meta_message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgARGBI3NEZGOTg5NDc5RkExRjg2RjUA"
},
"from": "85255311705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTkwNDhEMDQ0MEY2QzA1NDE4OAA=",
"timestamp": "1701856516",
"type": "text",
"text": {
"body": "OK you"
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQTkwNDhEMDQ0MEY2QzA1NDE4OAA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
WhatsAppBusinessAPI账号不支持的消息响应示例
{
"contacts": [
{
"profile": {
"name": "Jay"
},
"wa_id": "852xxxx705"
}
],
"messages": [
{
"from": "852xxxx705",
"id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQUY3OTA5Mzg5MDU2NDU5RDg4NgA=",
"timestamp": "1701861490",
"type": "unsupported",
"errors": [
{
"code": 131051,
"title": "Message type is currently not supported."
}
],
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgLODUyNTUzMTE3MDUVAgASGBQzQUY3OTA5Mzg5MDU2NDU5RDg4NgA=",
"direction": 2
}
}
],
"merchant_phone": "86176xxxx0819",
"messaging_product": "whatsapp"
}
心情消息示例
{
"messaging_product": "whatsapp",
"contacts": [
{
"wa_id": "8617xxxx50819",
"profile": {
"name": "Jay"
}
}
],
"messages": [
{
"from": "8617xxxx50819",
"id": "wamid.HBgNODYxNzYwNjA1MDgxORUCABISVASBMzBDMjVFNkIxRUFGMzAzNTREAA==",
"timestamp": "1724118060",
"type": "reaction",
"reaction": {
"message_id": "wamid.4092fc1a7877448f8ec8c8d2216dfdd4",
"meta_message_id": "wamid.HBgNODYxNzYwNjA1MDgxORUCABISVASBMzBDMjVFNkIxRUFGMzAzNTREAA=",
"emoji": "👍"
},
"cost": {
"currency": "CNY",
"price": 0,
"foreign_price": 0,
"cdr_type": 1,
"message_id": "wamid.HBgNODYxNzYwNjA1MDgxORUCABISVASBMzBDMjVFNkIxRUFGMzAzNTREAA==",
"direction": 2
}
}
],
"metadata": {
"display_phone_number": "8523xxxx859",
"phone_number_id": "12487xxxxx14609"
},
"app_id": "48",
"business_phone": "8523xxxx859",
"merchant_phone": "8523xxxx859",
"channel": 2
}
模板状态更新
模板已批准
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "APPROVED",
"time": 1713313467,
"message_template_id": "1370101990353470",
"message_template_name": "lostgreethungarian20",
"message_template_language": "hu",
"reason": "NONE"
},
"field": "message_template_status_update"
}
模板被拒绝
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "REJECTED",
"time": 1713165587,
"message_template_id": "1084366229523542",
"message_template_name": "mulanfreeen",
"message_template_language": "en",
"reason": "INCORRECT_CATEGORY"
},
"field": "message_template_status_update"
}
计划禁用的模板
{
"field": "message_template_status_update",
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "FLAGGED",
"message_template_id": "TEMPLATE-ID",
"message_template_name": "My message template",
"message_template_language": "en-US",
"reason": null,
"disable_info": {
"disable_date": "DATE",
}
}
模板已暂停
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "PAUSED",
"message_template_id": 6048,
"message_template_name": "welcome",
"message_template_language": "en_US",
"reason": "NONE",
"other_info": {
"title": "SECOND_PAUSE",
"description": "Your WhatsApp message template has been paused for 6 hours until Aug 31 at 12:47 AM UTC because it continued to have issues."
}
},
"field": "message_template_status_update"
}
模板消息待删除
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "PENDING_DELETION",
"message_template_id": 1137,
"message_template_name": "<MY_TEMPLATE_NAME>",
"message_template_language": "en_US",
"reason": "NONE"
},
"field": "message_template_status_update"
}
模板质量变更
{
"value": {
"business_phone": "852xxxx3867",
"time": 1730390145,
"message_template_id": "301336xxxx511624",
"message_template_name": "simon_def2",
"message_template_language": "en_US",
"previous_quality_score": "UNKNOWN",
"new_quality_score": "YELLOW",
"wabaId": "10903xxxxxx0925"
},
"field": "message_template_quality_update"
}
模板状态变更
{
"field": "template_category_update",
"value": {
"business_phone": "8523***859",
"message_template_id": "138641***878",
"message_template_language": "zh_CN",
"message_template_name": "test_service_1",
"new_category": "MARKETING",
"time": 1745385279,
"wabaId": "1386417***78"
}
}
{
"field": "template_category_update",
"value": {
"business_phone": "8523****59",
"message_template_id": "13864****7878",
"message_template_language": "zh_CN",
"message_template_name": "test_service_1",
"new_category": "MARKETING",
"previous_category": "UTILITY",
"time": 1745385279,
"wabaId": "13864****878"
}
}
WABA账号更新
沙盒号码升级为验证帐户
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"phone_number": "PHONE_NUMBER",
"event": "VERIFIED_ACCOUNT"
},
"field": "account_update"
}
WhatsApp 企业帐户被禁止
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "DISABLED_UPDATE",
"ban_info": {
"waba_ban_state": [
"SCHEDULE_FOR_DISABLE",
"DISABLE",
"REINSTATE"
],
"waba_ban_date": "DATE"
}
},
"field": "account_update"
}
WhatsApp 企业帐户违反政策
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "ACCOUNT_VIOLATION",
"violation_info": {
"violation_type": "VIOLATION_TYPE"
}
},
"field": "account_update"
}
WhatsApp 企业帐户因违反政策而受到限制
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"event": "ACCOUNT_RESTRICTION",
"restriction_info": [
{
"restriction_type": "RESTRICTED_BIZ_INITIATED_MESSAGING" | "RESTRICTION_ON_ADD_PHONE_NUMBER_ACTION"| "RESTRICTED_CUSTOMER_INITIATED_MESSAGING",
"expiration": "TIMESTAMP"
}
]
},
"field": "account_update"
}
WhatsApp 企业帐户审核已完成
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"decision": "APPROVED"
},
"field": "account_review_update"
}
WhatsApp 企业帐户已删除
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"phone_number": "1669xxxx193",
"event": "ACCOUNT_DELETED"
},
"field": "account_update"
}
WhatsApp 企业帐户已从合作伙伴中删除
{
"value": {
"business_phone": "1669xxxx193",
"wabaId": "1049513xxxx7327",
"phone_number": "1669xxxx193",
"event": "PARTNER_REMOVED"
},
"field": "account_update"
}