> ## 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.updated

> Occurs when a policy violation happened, WhatsApp Business Account has been banned and more.

Use `whatsapp.business_account.updated` to handle this event at your webhook endpoint.

## Triggers

Occurs when a policy violation happened, WhatsApp Business Account has been banned and more.

Subscribe to `whatsapp.business_account.updated` when you [configure your webhook endpoint](https://docs.ycloud.com/en/api-reference/guides/api-fundamentals/configure-webhooks.md).

## Syntax

YCloud sends an HTTP `POST` request to your configured webhook URL. The following shape shows one payload variant. Angle-bracket values are placeholders; their types are listed under **Parameters**. Optional fields and other variants are described below.

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "id": "<ID>",
  "type": "whatsapp.business_account.updated",
  "apiVersion": "<API_VERSION>",
  "createTime": "<CREATE_TIME>",
  "whatsappBusinessAccount": {
    "id": "<ID>",
    "name": "<NAME>",
    "updateEvent": "<UPDATE_EVENT>",
    "violationType": "<VIOLATION_TYPE>",
    "restrictions": [
      {
        "restrictionType": "<RESTRICTION_TYPE>",
        "expiration": "<EXPIRATION>"
      }
    ]
  }
}
```

## Parameters

Validate the `YCloud-Signature` HTTP header before you process the JSON body. See [signature validation](https://docs.ycloud.com/en/api-reference/guides/api-fundamentals/configure-webhooks.md).

### Event envelope

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | Yes | Unique ID for the event. Minimum length: `6`. Maximum length: `128`. |
| `type` | string | Yes | Always `whatsapp.business_account.updated`. |
| `apiVersion` | string | Yes | The API version used to render this event. |
| `createTime` | string (date-time) | Yes | The time at which this event was created, formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339). e.g., `2022-06-01T12:00:00.000Z`. |

### Event payload

| Parameter | Type | Required | Description |
| - | - | - | - |
| `whatsappBusinessAccount` | object | No | Event-specific `whatsappBusinessAccount` payload. |

The four common envelope fields are required. Payload fields depend on the event variant. In each object table, **Required** applies when its parent object is present. Optional fields can be omitted; a sample does not make a field required.

#### whatsappBusinessAccount

| Parameter | Type | Required | Description |
| - | - | - | - |
| `id` | string | No | WhatApp Business Account ID. |
| `name` | string | No | User-friendly name to differentiate WhatsApp Business Accounts. |
| `accountReviewStatus` | string | No | WhatsApp Business Account review status.Values: `PENDING`, `APPROVED`, `REJECTED`. |
| `updateEvent` | string | No | Indicates the update event type of the WABA when a notification is sent to you to report a [policy violation](https://developers.facebook.com/docs/whatsapp/overview/policy-enforcement), a WABA has been banned and more.<ul><li>`DISABLED_UPDATE`: WhatsApp Business Account Banned.</li><li>`ACCOUNT_RESTRICTION`: WhatsApp Business Account Restricted Due To Policy Violations.</li><li>`ACCOUNT_VIOLATION`: WhatsApp Business Account Violates Policy.</li><li>`PARTNER_REMOVED`: WhatsApp Business Account was removed from the partner connection.</li><li>`PARTNER_APP_UNINSTALLED`: WhatsApp Business Account partner app was uninstalled.</li><li>`AUTH_INTL_PRICE_ELIGIBILITY_UPDATE`: WhatsApp Business Account is eligible for the [authentication-international rate](https://developers.facebook.com/docs/whatsapp/pricing/authentication-international-rates).</li><li>`BUSINESS_PRIMARY_LOCATION_COUNTRY_UPDATE`: Business's [primary business location](https://developers.facebook.com/docs/whatsapp/pricing/authentication-international-rates#primary-business-location) is set.</li><li>`BUSINESS_CAPABILITY_UPDATE`: Meta reported a change to the Business Portfolio or WABA phone-number registration limit.</li></ul> |
| `banState` | string | No | The ban state of the WhatsApp Business Account.Values: `SCHEDULE_FOR_DISABLE`, `DISABLE`, `REINSTATE`. |
| `banDate` | string | No | The date when the WABA is banned. |
| `violationType` | string | No | Used to report violations imposed on the WABA. See Meta's [Policy enforcement violations](https://developers.facebook.com/documentation/business-messaging/whatsapp/policy-enforcement-violations) for violation types and descriptions. Meta may update this list over time. For Utility Direct Send violation types and restriction details, see Meta's [Webhook for account restriction](https://developers.facebook.com/documentation/business-messaging/whatsapp/direct-send/integrity-and-content-guidelines#webhook-for-account-restriction). |
| `restrictions` | object\[] | No | Used to report restrictions imposed on the WABA, when that WABA violates [WhatsApp Business Platform policies](https://developers.facebook.com/docs/whatsapp/overview/policy-enforcement). |
| `maxPhoneNumbersPerBusiness` | integer (int32) | No | Included in a `whatsapp.business_account.updated` webhook with `updateEvent=BUSINESS_CAPABILITY_UPDATE` when Meta reports the Business Portfolio phone-number registration limit. Meta currently reports this field separately from `maxPhoneNumbersPerWaba`, but consumers must process both if a future update includes them together. |
| `maxPhoneNumbersPerWaba` | integer (int32) | No | Included in a `whatsapp.business_account.updated` webhook with `updateEvent=BUSINESS_CAPABILITY_UPDATE` when Meta reports the WABA phone-number registration limit. Meta currently reports this field separately from `maxPhoneNumbersPerBusiness`, but consumers must process both if a future update includes them together. |
| `authIntlRateEligibilityCountries` | object\[] | No | Starting June 1, 2024, we are updating our authentication rate card and introducing a new authentication-international rate. This rate will apply in the the following countries:<ul><li>June 1, 2024 – Indonesia (country calling code +62, country code `ID`)</li><li>July 1, 2024 – India (country calling code +91, country code `IN`)</li></ul>See also [Authentication-International Rates](https://developers.facebook.com/docs/whatsapp/pricing/authentication-international-rates). |
| `primaryBusinessLocation` | string | No | Your primary business location is the country where your business is based. It will appear in the Business Manager under the Primary Business Location field starting May 1, 2024. [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). |

> [accordion] whatsappBusinessAccount.restrictions\[]
>
> | Parameter | Type | Required | Description |
> | - | - | - | - |
> | `restrictionType` | string | No | Restriction type.Values: `RESTRICTED_ADD_PHONE_NUMBER_ACTION`, `RESTRICTED_BIZ_INITIATED_MESSAGING`, `RESTRICTED_CUSTOMER_INITIATED_MESSAGING`, `RESTRICTED_DIRECT_SEND_UTILITY_TEMPLATES`. |
> | `expiration` | string (date-time) | No | The time at which this restriction expires, formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339). e.g., `2022-06-01T12:00:00.000Z`. |

> [accordion] whatsappBusinessAccount.authIntlRateEligibilityCountries\[]
>
> | Parameter | Type | Required | Description |
> | - | - | - | - |
> | `countryCode` | string | No | [ISO 3166-1 alpha-2 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). |
> | `startTime` | string (date-time) | No | Date when newly-opened authentication conversations are subject to authentication-international rates, formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339). e.g., `2024-07-01T00:00:00.000Z`. |

## Example

The following JSON is the body delivered to your receiver. IDs, phone numbers, and other account values are illustrative.

> [accordion] Utility Direct Send restriction event
>
> Meta restricted Utility Direct Send for 7 days after repeated category misuse.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_direct_send_restriction_123",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-17T08:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "whatsapp-business-account-id",
>     "name": "Example business",
>     "updateEvent": "ACCOUNT_RESTRICTION",
>     "violationType": "DIRECT_SEND_UTILITY_CATEGORY_ABUSE_STRIKE_1",
>     "restrictions": [
>       {
>         "restrictionType": "RESTRICTED_DIRECT_SEND_UTILITY_TEMPLATES",
>         "expiration": "2026-09-24T08:00:00.000Z"
>       }
>     ]
>   }
> }
> ```

> [accordion] Authentication-International Rate Eligibility
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "AUTH_INTL_PRICE_ELIGIBILITY_UPDATE",
>     "authIntlRateEligibilityCountries": [
>       {
>         "countryCode": "IN",
>         "startTime": "2024-07-01T00:00:00.000Z"
>       },
>       {
>         "countryCode": "ID",
>         "startTime": "2024-07-01T00:00:00.000Z"
>       }
>     ]
>   }
> }
> ```

> [accordion] Primary Business Location Update
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "BUSINESS_PRIMARY_LOCATION_COUNTRY_UPDATE",
>     "primaryBusinessLocation": "US"
>   }
> }
> ```

> [accordion] Phone-number registration limit update
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-23T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "BUSINESS_CAPABILITY_UPDATE",
>     "maxPhoneNumbersPerWaba": 25
>   }
> }
> ```

> [accordion] Account violation
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "ACCOUNT_VIOLATION",
>     "violationType": "SCAM"
>   }
> }
> ```

> [accordion] Account Restriction
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "ACCOUNT_RESTRICTION",
>     "restrictions": [
>       {
>         "restrictionType": "RESTRICTED_ADD_PHONE_NUMBER_ACTION",
>         "expiration": "2024-09-01T12:00:00.000Z"
>       },
>       {
>         "restrictionType": "RESTRICTED_BIZ_INITIATED_MESSAGING",
>         "expiration": "2024-09-01T12:00:00.000Z"
>       },
>       {
>         "restrictionType": "RESTRICTED_CUSTOMER_INITIATED_MESSAGING",
>         "expiration": "2024-09-01T12:00:00.000Z"
>       }
>     ]
>   }
> }
> ```

> [accordion] Account Disabled
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "DISABLED_UPDATE",
>     "banDate": "September 19, 2024",
>     "banState": "DISABLE"
>   }
> }
> ```

> [accordion] Account Reinstate
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_djeIQXaQPQyUcRFi",
>   "type": "whatsapp.business_account.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-06-01T00:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "106681...",
>     "updateEvent": "DISABLED_UPDATE",
>     "banState": "REINSTATE",
>     "banDate": "December 27, 2024",
>     "accountReviewStatus": "APPROVED"
>   }
> }
> ```

After verifying the signature and durably accepting the event, return a `2xx` response. Process slow work asynchronously.

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

For scenario walkthroughs, see [annotated examples](https://docs.ycloud.com/en/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.