> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ycloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# whatsapp.business_account.reviewed

> 在 WhatsApp 商业账户完成审核时触发。

在您的 Webhook 端点中使用 `whatsapp.business_account.reviewed` 处理此事件。

## 触发条件

在 WhatsApp 商业账户完成审核时触发。

在[配置 Webhook 端点](https://docs.ycloud.com/zh/api-reference/guides/api-fundamentals/configure-webhooks.md)时订阅 `whatsapp.business_account.reviewed`。

## 语法

YCloud 会向您配置的 Webhook URL 发送一个 HTTP `POST` 请求。以下结构展示了一种有效负载变体。尖括号中的值为占位符；其类型列在 **Parameters** 下。可选字段和其他变体如下文所述。

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "<ID>",
  "type": "whatsapp.business_account.reviewed",
  "apiVersion": "<API_VERSION>",
  "createTime": "<CREATE_TIME>",
  "whatsappBusinessAccount": {
    "id": "<ID>",
    "decision": "<DECISION>",
    "accountReviewStatus": "<ACCOUNT_REVIEW_STATUS>"
  }
}
```

## 参数

在处理 JSON 请求体之前，请先验证 `YCloud-Signature` HTTP 请求头。请参阅[签名验证](https://docs.ycloud.com/zh/api-reference/guides/api-fundamentals/configure-webhooks.md)。

### 事件外层结构

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `id` | string | 是 | 事件的唯一 ID。最小长度：`6`。最大长度：`128`。 |
| `type` | string | 是 | 固定为 `whatsapp.business_account.reviewed`。 |
| `apiVersion` | string | 是 | 用于呈现此事件的 API 版本。 |
| `createTime` | string (date-time) | 是 | 此事件的创建时间，格式为 [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339)。例如：`2022-06-01T12:00:00.000Z`。 |

### 事件有效负载

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `whatsappBusinessAccount` | object | 否 | 特定于事件的 `whatsappBusinessAccount` 有效负载。 |

外层结构的四个通用字段是必填的。有效负载字段取决于具体的事件变体。在每个对象表格中， **必填** 仅在其父对象存在时适用。可选字段可以省略；示例中展示并不代表该字段必填。

#### whatsappBusinessAccount

| 参数 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `id` | string | 否 | WhatsApp 商业账户 ID。 |
| `name` | string | 否 | 用于区分 WhatsApp 商业账户的用户易读名称。 |
| `accountReviewStatus` | string | 否 | WhatsApp 商业账户审核状态。可选值：`PENDING`、`APPROVED`、`REJECTED`。 |
| `businessVerificationStatus` | string | 否 | 拥有此 WhatsApp 商业账户的 Meta Business Account 的企业认证当前状态。可选值：`expired`、`failed`、`ineligible`、`not_verified`、`pending`、`pending_need_more_info`、`pending_submission`、`rejected`、`revoked`、`verified`。 |
| `decision` | string | 否 | 针对此 WhatsApp 商业账户作出的审核决定。可选值为 `APPROVED` 或 `REJECTED` 之一。 |

## 示例

以下 JSON 是发送到您的接收端的请求体。ID、电话号码和其他账户值仅作示意说明。

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "evt_example_whatsapp_business_account_reviewed",
  "type": "whatsapp.business_account.reviewed",
  "apiVersion": "v2",
  "createTime": "2026-05-26T12:00:00.000Z",
  "whatsappBusinessAccount": {
    "id": "whatsapp-business-account-id",
    "decision": "APPROVED",
    "accountReviewStatus": "APPROVED"
  }
}
```

验证签名并持久接收该事件后，请返回 `2xx` 响应。耗时任务请异步处理。

```http theme={"theme":{"light":"github-light","dark":"github-dark"}}
HTTP/1.1 200 OK
```

如需查看完整场景演练，请参阅[带注释的示例](https://docs.ycloud.com/zh/api-reference/guides/examples/webhook-examples/whatsapp-business-account-updated-webhook-examples)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.