# whatsapp.account.quality_updated

A connected number's quality rating or messaging limit tier changed.

### When it fires

Fires only when the rating or tier differs from the value Zernio held. A tier change Meta applies to the whole business portfolio fires once per connected number.

### Payload notes

`quality.source` says which Meta signal reported it. Compare `quality.previousQualityRating` with `quality.qualityRating`, and the previous and current messaging limit tier. `quality.qualityRating` is Meta's live value (`GREEN`, `YELLOW`, `RED`).

### Delivery

Delivery is at-least-once; dedupe on the event `id`.




**Payload for `whatsapp.account.quality_updated`:**

- **id** (required) `string`: Stable webhook event ID: the dedupe key, also sent as the X-Zernio-Event-Id header and identical on every retry and redelivery. It identifies the event only, never an account or other resource.
- **profiles**: `WebhookProfiles` - See schema definition
- **test** `boolean`: Always true when present: only a sample sent by POST /v1/webhooks/test with an event carries it. Real deliveries never do.
- **event** (required) `string`: No description - one of: whatsapp.account.quality_updated
- **account** (required) `object`: 
  - **accountId** (required) `string`: No description
  - **profileId** (required) `string`: No description
  - **platform** (required) `string`: No description - one of: whatsapp
  - **username** (required) `string`: No description
  - **displayName** `string,null`: No description
- **quality** (required) `object`: 
  - **source** (required) `string`: The Meta webhook field that reported the change. - one of: phone_number_quality_update, business_capability_update
  - **metaEvent** (required) `string,null`: Meta's `event` on phone_number_quality_update (for example FLAGGED, UNFLAGGED, UPGRADE, DOWNGRADE, ONBOARDING, THROUGHPUT_UPGRADE). Null on business_capability_update.
  - **qualityRating** (required) `string,null`: Current quality rating (GREEN, YELLOW, RED, UNKNOWN), read live from Meta on FLAGGED/UNFLAGGED.
  - **previousQualityRating** (required) `string,null`: No description
  - **messagingLimitTier** (required) `string,null`: Current messaging limit tier, for example TIER_250, TIER_2K, TIER_10K, TIER_100K, TIER_UNLIMITED.
  - **previousMessagingLimitTier** (required) `string,null`: No description
  - **displayPhoneNumber** (required) `string,null`: No description
- **timestamp** (required) `string` (date-time): UTC time at which Zernio generated this event (set once when the event payload is built, before delivery is queued). Retries and redeliveries keep the original value, so it reflects the event, not the delivery attempt.