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

# Exemplos de payload de Webhook

> Explore exemplos de payloads para cada tipo de evento de webhook.

## O que é

Este catálogo abrange todos os 47 tipos de evento de webhook na especificação OpenAPI e preserva cada exemplo de payload nomeado.

## Como funciona

Escolha um evento pelo seu `type` exato, expanda um exemplo e use o payload para testar roteamento, desserialização, idempotência e processamento assíncrono no seu receptor de webhook.

## Requisição

Cada exemplo é o corpo JSON de uma requisição HTTP `POST` enviada pela YCloud. A requisição também inclui um cabeçalho `YCloud-Signature` que você deve validar antes de confiar no payload.

## Resposta

Retorne uma resposta `2xx` depois que seu aplicativo tiver aceitado o evento de forma duradoura.

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

> [!NOTE]
>
> Para gatilhos de eventos, campos de payload e exemplos, consulte [Exemplos de Webhook](https://docs.ycloud.com/pt/api-reference/webhook-reference/overview.md).

## Catálogo de payloads

> [accordion] whatsapp.message.updated — Cobrança final para uma mensagem entregue com Max Price
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_max_price_delivery",
>   "type": "whatsapp.message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-11-03T08:00:00.000Z",
>   "whatsappMessage": {
>     "id": "message_example_max_price",
>     "wabaId": "<WABA_ID>",
>     "from": "+15550001111",
>     "to": "+15550002222",
>     "type": "template",
>     "status": "delivered",
>     "pricingCategory": "marketing_lite_bidding",
>     "bidPricingFlag": true,
>     "totalPrice": 0.045,
>     "currency": "USD"
>   }
> }
> ```

> [accordion] messenger.inbound\_message.received — Texto recebido do Messenger
>
> Use messengerInboundMessage.id para correlacionar mensagens repetidas de clientes; preserve os espaços em branco do texto.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_0123456789abcdef01234567",
>   "type": "messenger.inbound_message.received",
>   "apiVersion": "v2",
>   "createTime": "2026-10-20T02:00:00.000Z",
>   "messengerInboundMessage": {
>     "id": "1308528868252065793",
>     "metaMessageId": "m_EXAMPLE_IN_001",
>     "from": "100800000000000",
>     "to": "422500000000000",
>     "type": "text",
>     "text": {
>       "body": "  Hello  "
>     },
>     "sendTime": "2026-10-20T02:00:00.000Z",
>     "createTime": "2026-10-20T02:00:00.100Z"
>   }
> }
> ```

> [accordion] messenger.inbound\_message.updated — Edição de texto recebido do Messenger
>
> A mesma mensagem salva agora contém o texto mais recente e o histórico cumulativo de edições.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_cdef0123456789abcdef0123",
>   "type": "messenger.inbound_message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-10-20T02:01:00.000Z",
>   "messengerInboundMessage": {
>     "id": "1308528868252065793",
>     "metaMessageId": "m_EXAMPLE_IN_001",
>     "from": "100800000000000",
>     "to": "422500000000000",
>     "type": "text",
>     "text": {
>       "body": "  Hello, corrected  "
>     },
>     "sendTime": "2026-10-20T02:00:00.000Z",
>     "createTime": "2026-10-20T02:00:00.100Z",
>     "editCount": 2,
>     "editTime": "2026-10-20T02:01:00.000Z"
>   }
> }
> ```

> [accordion] messenger.message.updated — Snapshot de leitura de saída do Messenger
>
> Use o ID da mensagem para correlacionar snapshots; horários intermediários de entrega desconhecidos são omitidos.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_89abcdef0123456789abcdef",
>   "type": "messenger.message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-10-20T02:00:03.000Z",
>   "messengerMessage": {
>     "id": "1308528868252065792",
>     "metaMessageId": "m_EXAMPLE_OUT_001",
>     "from": "422500000000000",
>     "to": "100800000000000",
>     "type": "text",
>     "text": {
>       "body": "How can I help you?"
>     },
>     "status": "read",
>     "createTime": "2026-10-20T02:00:00.000Z",
>     "updateTime": "2026-10-20T02:00:03.000Z",
>     "readTime": "2026-10-20T02:00:03.000Z"
>   }
> }
> ```

> [accordion] messenger.message\_reaction.updated — Reação a mensagem do Messenger
>
> A mensagem de destino da Meta não precisa ter um registro local de mensagem na YCloud.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_abcdef0123456789abcdef01",
>   "type": "messenger.message_reaction.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-10-20T02:00:04.000Z",
>   "messengerMessageReaction": {
>     "pageId": "422500000000000",
>     "psid": "100800000000000",
>     "metaMessageId": "m_EXAMPLE_OUT_001",
>     "action": "react",
>     "reaction": "love",
>     "emoji": "❤️"
>   }
> }
> ```

> [accordion] messenger.message\_reaction.updated — Reação a mensagem do Messenger removida
>
> As remoções podem omitir o nome da reação e o emoji.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_bcdef0123456789abcdef012",
>   "type": "messenger.message_reaction.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-10-20T02:00:05.000Z",
>   "messengerMessageReaction": {
>     "pageId": "422500000000000",
>     "psid": "100800000000000",
>     "metaMessageId": "m_EXAMPLE_OUT_001",
>     "action": "unreact"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.created — Echo de texto de saída
>
> Armazene o texto de whatsappMessage.text.body. id e wamid vinculam eventos de status subsequentes.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_text",
>   "type": "whatsapp.echo_message.created",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:00.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "type": "text",
>     "text": {
>       "body": "Hello! How can I help you?"
>     },
>     "status": "sent",
>     "createTime": "2026-09-09T02:00:00.000Z",
>     "sendTime": "2026-09-09T02:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.created — Echo de imagem de saída
>
> O conteúdo da mensagem varia conforme o tipo. Trate IDs de mídia como referências do provedor, não como URLs públicas de download.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_image",
>   "type": "whatsapp.echo_message.created",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:00.000Z",
>   "whatsappMessage": {
>     "id": "IMAGE_MESSAGE_ID",
>     "wamid": "wamid.IMAGE_EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "type": "image",
>     "image": {
>       "id": "MEDIA_ID",
>       "mime_type": "image/jpeg"
>     },
>     "status": "sent",
>     "createTime": "2026-09-09T02:00:00.000Z",
>     "sendTime": "2026-09-09T02:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.updated — Mensagem de echo entregue
>
> Correlacione com o evento created por id ou wamid. Eventos updated omitem o conteúdo e o tipo da mensagem.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_delivered",
>   "type": "whatsapp.echo_message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:03.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "status": "delivered",
>     "updateTime": "2026-09-09T02:00:01.000Z",
>     "deliverTime": "2026-09-09T02:00:01.000Z"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.updated — Mensagem de echo lida
>
> Correlacione com o evento created por id ou wamid. Eventos updated omitem o conteúdo e o tipo da mensagem.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_read",
>   "type": "whatsapp.echo_message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:03.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "status": "read",
>     "updateTime": "2026-09-09T02:00:02.000Z",
>     "readTime": "2026-09-09T02:00:02.000Z"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.updated — Status enviado tardio após leitura
>
> Um status de origem de prioridade mais baixa pode chegar após a leitura. Registre o evento sem fazer downgrade do status atual da sua mensagem.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_sent",
>   "type": "whatsapp.echo_message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:03.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "status": "sent",
>     "updateTime": "2026-09-09T02:00:00.000Z",
>     "sendTime": "2026-09-09T02:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.echo\_message.updated — Mensagem de echo com falha
>
> Esta é uma mensagem com falha separada, não uma transição a partir de lida. Atualizações com falha incluem detalhes de erro da origem quando disponíveis.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_echo_failed",
>   "type": "whatsapp.echo_message.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:03.000Z",
>   "whatsappMessage": {
>     "id": "FAILED_MESSAGE_ID",
>     "wamid": "wamid.FAILED_EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+12025550123",
>     "to": "+12025550124",
>     "recipientUserId": "GB.898232076600896",
>     "status": "failed",
>     "errorCode": "131000",
>     "errorMessage": "Provider failure",
>     "updateTime": "2026-09-09T02:00:03.000Z"
>   }
> }
> ```

> [accordion] whatsapp.meta\_business\_agent.handover.updated — O agente transfere o controle para seu aplicativo
>
> APP\_CONTROL\_TAKEN relata a transferência de controle, não uma atribuição de funcionário na Caixa de entrada nem a entrega de mensagem personalizada de transferência. actor é o ID do app proprietário anterior neste exemplo.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_agent_handover",
>   "type": "whatsapp.meta_business_agent.handover.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-09-09T02:00:04.000Z",
>   "whatsappMetaBusinessAgent": {
>     "agentId": "00000000-0000-4000-8000-000000000001",
>     "metaAgentId": "META_AGENT_ID",
>     "phoneNumberId": "PHONE_NUMBER_ID",
>     "wabaId": "WABA_ID",
>     "consumerPhoneNumber": "+12025550124",
>     "controlState": "APP_CONTROL_TAKEN",
>     "actor": "PREVIOUS_OWNER_APP_ID",
>     "reason": "customer_request",
>     "timestamp": 1788919204000
>   }
> }
> ```

> [accordion] whatsapp.business\_account.deleted — Evento de conta do WhatsApp Business excluída
>
> Leia whatsappBusinessAccount.id para identificar a conta. Quando presentes, removedReason, removedInitiatedBy e removedTime descrevem a remoção. Preserve valores desconhecidos de motivo e iniciador.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_business_account_deleted_123",
>   "type": "whatsapp.business_account.deleted",
>   "apiVersion": "v2",
>   "createTime": "2026-05-26T12:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "whatsapp-business-account-id",
>     "name": "Example business",
>     "removedReason": "ACCOUNT_DISCONNECTED",
>     "removedInitiatedBy": "USER",
>     "removedTime": "2026-05-26T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.quality\_updated — Evento de qualidade do número de telefone do WhatsApp atualizada
>
> Leia qualityRating e qualityUpdateEvent de whatsappPhoneNumber. messagingLimit descreve o nível do número de telefone; whatsappBusinessManagerMessagingLimit descreve o limite do portfólio de negócios proprietário.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_phone_number_quality_updated_123",
>   "type": "whatsapp.phone_number.quality_updated",
>   "apiVersion": "v2",
>   "createTime": "2026-05-26T12:00:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "phoneNumber": "+16315551111",
>     "displayPhoneNumber": "+1 631-555-1111",
>     "wabaId": "whatsapp-business-account-id",
>     "qualityRating": "GREEN",
>     "messagingLimit": "TIER_1K",
>     "whatsappBusinessManagerMessagingLimit": "TIER_2K",
>     "qualityUpdateEvent": "ONBOARDING"
>   }
> }
> ```

> [accordion] contact.attributes\_changed — Evento de atributos do contato alterados
>
> Exemplo de payload quando os atributos do contato são alterados
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "contact.attributes_changed",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "contactAttributesChanged": {
>     "id": "1824266594102064128",
>     "updateTime": "2024-01-01T12:00:00.000Z",
>     "changedAttributes": {
>       "remark_name": {
>         "oldValue": "Standard customer",
>         "newValue": "Priority customer"
>       },
>       "email": {
>         "oldValue": "john.doe@example.com",
>         "newValue": "johnny.doe@example.com"
>       },
>       "tags": {
>         "oldValue": [
>           "premium",
>           "newsletter"
>         ],
>         "newValue": [
>           "premium",
>           "newsletter",
>           "vip"
>         ],
>         "extra": [
>           {
>             "action": "ADDED",
>             "id": "686dd294334be8606a5bf312",
>             "value": "vip"
>           }
>         ]
>       }
>     }
>   }
> }
> ```

> [accordion] contact.created — Evento de contato criado
>
> Exemplo de payload quando um novo contato é criado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_2345678901",
>   "type": "contact.created",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "contactCreated": {
>     "id": "1824266594102064128",
>     "remarkName": "Priority customer",
>     "nickName": "John Doe",
>     "realName": "John Smith",
>     "phoneNumber": "+16315551111",
>     "countryCode": "US",
>     "countryName": "United States",
>     "email": "john.doe@example.com",
>     "sourceType": "api",
>     "sourceId": "import_batch_123",
>     "sourceUrl": "https://example.com/signup",
>     "lastSeen": "2024-01-01T11:59:00.000Z",
>     "lastConnectedNumber": "+16315552222",
>     "ownerEmail": "owner@example.com",
>     "tags": [
>       "premium",
>       "newsletter"
>     ],
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-01T12:00:00.000Z",
>     "blocked": false,
>     "customAttributes": {
>       "attr1": "value1",
>       "attr2": "value2",
>       "attr3": 123
>     }
>   }
> }
> ```

> [accordion] contact.deleted — Evento de contato excluído
>
> Exemplo de payload quando um contato é excluído
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_3456789012",
>   "type": "contact.deleted",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "contactDeleted": {
>     "id": "1824266594102064128",
>     "remarkName": "Former customer",
>     "nickName": "John Doe",
>     "phoneNumber": "+16315551111",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] contact.note.created — Evento de nota do contato criada
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890abcdef12345678",
>   "type": "contact.note.created",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "contactNote": {
>     "id": "6a3de646e18f344f743aaa4d",
>     "contactId": "1824266594102064128",
>     "username": "alice_01",
>     "phoneNumber": "+16315551111",
>     "content": "Customer prefers follow-up in the morning.",
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] contact.note.updated — Evento de nota do contato atualizada
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_2234567890abcdef12345678",
>   "type": "contact.note.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-02T12:00:00.000Z",
>   "contactNote": {
>     "id": "6a3de646e18f344f743aaa4d",
>     "contactId": "1824266594102064128",
>     "username": "alice_01",
>     "phoneNumber": "+16315551111",
>     "content": "Customer now prefers afternoon follow-up.",
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-02T12:00:00.000Z"
>   }
> }
> ```

> [accordion] contact.note.deleted — Evento de nota do contato excluída
>
> Emitido apenas para a exclusão independente de uma nota, não para a exclusão em cascata de contatos.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_3234567890abcdef12345678",
>   "type": "contact.note.deleted",
>   "apiVersion": "v2",
>   "createTime": "2024-01-03T12:00:00.000Z",
>   "contactNote": {
>     "id": "6a3de646e18f344f743aaa4d",
>     "contactId": "1824266594102064128",
>     "username": "alice_01",
>     "phoneNumber": "+16315551111",
>     "content": "Customer now prefers afternoon follow-up.",
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-02T12:00:00.000Z"
>   }
> }
> ```

> [accordion] contact.unsubscribe.created — Evento de cancelamento de assinatura pelo cliente
>
> Exemplo de payload quando um cliente cancela a assinatura
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_3456789012",
>   "type": "contact.unsubscribe.created",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "unsubscriberChanged": {
>     "phoneNumber": "+16315551111",
>     "source": "Whatsapp",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] contact.unsubscribe.deleted — O cliente retoma a assinatura
>
> Exemplo de payload quando um cliente retoma a assinatura
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_3456789012",
>   "type": "contact.unsubscribe.deleted",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "unsubscriberChanged": {
>     "phoneNumber": "+16315551111",
>     "source": "Whatsapp",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.business\_username\_updated — Nome de usuário comercial revogado e substituído
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_business_username_revoked_123",
>   "type": "whatsapp.phone_number.business_username_updated",
>   "apiVersion": "v2",
>   "createTime": "2026-10-10T08:00:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "wabaId": "whatsapp-business-account-id",
>     "phoneNumber": "+16315551111",
>     "businessUsername": "autogenerated_name",
>     "businessUsernameStatus": "active",
>     "businessUsernameContext": "revoked"
>   }
> }
> ```

> [accordion] whatsapp.inbound\_message.received — O usuário alterou o BSUID sem expor um número de telefone
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_system_user_id_changed_123",
>   "type": "whatsapp.inbound_message.received",
>   "apiVersion": "v2",
>   "createTime": "2026-10-10T08:00:00.000Z",
>   "whatsappInboundMessage": {
>     "id": "msg_system_user_id_changed_123",
>     "wamid": "wamid.EXAMPLE_USER_ID_CHANGED",
>     "wabaId": "whatsapp-business-account-id",
>     "to": "+16315551111",
>     "sendTime": "2026-10-10T08:00:00.000Z",
>     "type": "system",
>     "system": {
>       "type": "user_changed_user_id",
>       "user_id": "US.13491208655302741919",
>       "previous_user_id": "US.13491208655302741918",
>       "parent_user_id": "US.ENT.11815799212886844831",
>       "previous_parent_user_id": "US.ENT.11815799212886844830"
>     }
>   }
> }
> ```

> [accordion] whatsapp.inbound\_message.received — O usuário alterou o número com BSUIDs anteriores
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_system_number_changed_123",
>   "type": "whatsapp.inbound_message.received",
>   "apiVersion": "v2",
>   "createTime": "2026-10-10T08:00:00.000Z",
>   "whatsappInboundMessage": {
>     "id": "msg_system_number_changed_123",
>     "wamid": "wamid.EXAMPLE_NUMBER_CHANGED",
>     "wabaId": "whatsapp-business-account-id",
>     "from": "+16315552222",
>     "to": "+16315551111",
>     "sendTime": "2026-10-10T08:00:00.000Z",
>     "type": "system",
>     "system": {
>       "type": "user_changed_number",
>       "wa_id": "16315553333",
>       "user_id": "US.13491208655302741919",
>       "previous_user_id": "US.13491208655302741918",
>       "parent_user_id": "US.ENT.11815799212886844831",
>       "previous_parent_user_id": "US.ENT.11815799212886844830"
>     }
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.business\_username\_updated — Evento de nome de usuário comercial de número de telefone do WhatsApp atualizado
>
> Exemplo de payload quando um nome de usuário comercial de número de telefone do WhatsApp se torna ativo
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_business_username_updated_123",
>   "type": "whatsapp.phone_number.business_username_updated",
>   "apiVersion": "v2",
>   "createTime": "2026-05-26T12:00:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "phoneNumber": "+16315551111",
>     "displayPhoneNumber": "+1 631-555-1111",
>     "wabaId": "whatsapp-business-account-id",
>     "businessUsername": "acme.support",
>     "businessUsernameStatus": "active",
>     "businessUsernameUpdatedAt": "2026-05-26T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.business\_username\_updated — Evento de nome de usuário comercial de número de telefone do WhatsApp reservado
>
> Exemplo de payload quando um número de telefone do WhatsApp tem uma solicitação de Business Username reservado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_business_username_pending_123",
>   "type": "whatsapp.phone_number.business_username_updated",
>   "apiVersion": "v2",
>   "createTime": "2026-05-26T12:30:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "phoneNumber": "+16315551111",
>     "displayPhoneNumber": "+1 631-555-1111",
>     "wabaId": "whatsapp-business-account-id",
>     "businessUsername": "acme.support",
>     "businessUsernameStatus": "reserved",
>     "requestedBusinessUsername": "acme.help",
>     "businessUsernameUpdatedAt": "2026-05-26T12:30:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.template.correct\_category\_detection — Evento de detecção de categoria de Utility Direct Send
>
> A Meta detectou conteúdo de marketing em uma mensagem de Utility Direct Send. Assine este evento por meio da API de endpoint de webhook.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_direct_send_category_123",
>   "type": "whatsapp.template.correct_category_detection",
>   "apiVersion": "v2",
>   "createTime": "2026-09-17T08:00:00.000Z",
>   "whatsappTemplate": {
>     "officialTemplateId": "official-template-id",
>     "wabaId": "whatsapp-business-account-id",
>     "name": "auto_generated_sample",
>     "language": "en_US",
>     "category": "MARKETING",
>     "previousCategory": "UTILITY"
>   }
> }
> ```

> [accordion] whatsapp.business\_account.updated — Evento de restrição de Utility Direct Send
>
> A Meta restringiu o Utility Direct Send por 7 dias após o uso indevido recorrente da categoria.
>
> ```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] whatsapp.template.reviewed — Evento de modelo do WhatsApp arquivado
>
> Exemplo de payload quando um modelo do WhatsApp é arquivado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_template_archived_123",
>   "type": "whatsapp.template.reviewed",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappTemplate": {
>     "id": "template-id",
>     "officialTemplateId": "official-template-id",
>     "wabaId": "whatsapp-business-account-id",
>     "name": "sample_whatsapp_template",
>     "language": "en",
>     "category": "MARKETING",
>     "status": "ARCHIVED",
>     "statusUpdateEvent": "ARCHIVED",
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.template.reviewed — Evento de modelo do WhatsApp desarquivado
>
> Exemplo de payload quando um modelo do WhatsApp é desarquivado. O status do modelo é o status atual retornado pela Meta e não representa uma nova análise de aprovação.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_template_unarchived_123",
>   "type": "whatsapp.template.reviewed",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappTemplate": {
>     "id": "template-id",
>     "officialTemplateId": "official-template-id",
>     "wabaId": "whatsapp-business-account-id",
>     "name": "sample_whatsapp_template",
>     "language": "en",
>     "category": "MARKETING",
>     "status": "APPROVED",
>     "statusUpdateEvent": "UNARCHIVED",
>     "createTime": "2024-01-01T12:00:00.000Z",
>     "updateTime": "2024-01-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.call.connect — Evento de conexão de chamada do WhatsApp
>
> Exemplo de payload quando uma chamada do WhatsApp é conectada
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_call_connect_123",
>   "type": "whatsapp.call.connect",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "callingConnect": {
>     "id": "6757b723960b25543b9ecc66",
>     "wacid": "wacid.HBgNNjI4MTM2MTkwNTEzMxUCABIYIEF",
>     "phoneId": "461269257068832",
>     "from": "+6281361905133",
>     "to": "+6283138205150",
>     "direction": "USER_INITIATED",
>     "dialTime": 1733826430000,
>     "sdpType": "offer",
>     "sdp": "v=0\r\no=- 1732169627243 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=group:BUNDLE audio\r\na=msid-semantic: WMS af3b01e3-eb42-4244-812e-db903c062ae7\r\na=ice-lite\r\nm=audio 3480 UDP/TLS/RTP/SAVPF 111 126\r\nc=IN IP4 31.13.87.130\r\na=rtcp:9 IN IP4 0.0.0.0\r\na=candidate:785588535 1 udp 2122260223 31.13.87.130 3480 typ host generation 0 network-cost 50\r\na=candidate:1906600321 1 udp 2122262783 2a03:2880:f217:d0:face:b00c:0:699c 3480 typ host generation 0 network-cost 50\r\na=ice-ufrag:CvRXRnInnWhQzLIE\r\na=ice-pwd:HGXUGAFI8wK6seuVknBT2Q==\r\na=fingerprint:sha-256 FB:56:A1:C5:37:35:6C:5C:1B:05:23:B0:DD:BB:2E:C9:5F:E4:70:61:7B:D9:1D:09:84:76:46:23:12:38:B7:01\r\na=setup:actpass\r\na=mid:audio\r\na=sendrecv\r\na=msid:af3b01e3-eb42-4244-812e-db903c062ae7 WhatsAppTrack1\r\na=rtcp-mux\r\na=rtpmap:111 opus/48000/2\r\na=rtcp-fb:111 transport-cc\r\na=fmtp:111 maxaveragebitrate=20000;maxplaybackrate=16000;minptime=20;sprop-maxcapturerate=16000;useinbandfec=1\r\na=rtpmap:126 telephone-event/8000\r\na=maxptime:20\r\na=ptime:20\r\na=ssrc:659928310 cname:WhatsAppAudioStream1\r\n"
>   }
> }
> ```

> [accordion] whatsapp.call.terminate — Evento de encerramento de chamada do WhatsApp
>
> Exemplo de payload quando uma chamada do WhatsApp é encerrada
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_6757b889a5a42d369ef48481",
>   "type": "whatsapp.call.terminate",
>   "apiVersion": "v2",
>   "createTime": "2024-12-10T03:42:01.822Z",
>   "callingTerminate": {
>     "id": "6757b889960b25543b9ecc67",
>     "wacid": "wacid.HBgNNjI4MTM2MTkwNTEzMxUCABIYIEFENjB",
>     "phoneId": "461269257068832",
>     "from": "+6281361905133",
>     "to": "+6283138205150",
>     "direction": "USER_INITIATED",
>     "startTime": 1733734738000,
>     "endTime": 1733734771000,
>     "duration": 33,
>     "status": "COMPLETED"
>   }
> }
> ```

> [accordion] whatsapp.call.status.updated — Evento de atualização de status de chamada do WhatsApp
>
> Exemplo de payload quando o status de uma chamada do WhatsApp é atualizado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_676e5ab57a9cb742d02d7646",
>   "type": "whatsapp.call.status.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-12-27T07:41:28.422Z",
>   "callingStatusUpdated": {
>     "wabaId": "188234691048809",
>     "wacid": "wacid.HBgNNjI4MTM2MTkwNTEzMxUCABE",
>     "phoneId": "461269257068832",
>     "status": "RINGING",
>     "recipientPhone": "+6281361905133"
>   }
> }
> ```

> [accordion] whatsapp.call.recording.updated — Evento de atualização de gravação de chamada do WhatsApp
>
> Exemplo de payload quando uma gravação de chamada originada via API fica disponível
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_call_recording_01JZ8K4V7H3P6Q9R2T5W8X1Y4Z",
>   "type": "whatsapp.call.recording.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-08-04T08:00:00.000Z",
>   "callingRecording": {
>     "wacid": "wacid.HBgNNjI4MTM2MTkwNTEzMxUCABE",
>     "phoneId": "461269257068832",
>     "mediaAssetId": "66b1f0c2e4b05c2d8f1a3b47",
>     "status": "AVAILABLE"
>   }
> }
> ```

> [accordion] whatsapp.call.transcription.updated — Evento de atualização de transcrição de chamada do WhatsApp
>
> Exemplo de payload quando uma transcrição de chamada originada via API falha permanentemente
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_call_transcription_01JZ8K5A9C4D7E0F3G6H9J2K5M",
>   "type": "whatsapp.call.transcription.updated",
>   "apiVersion": "v2",
>   "createTime": "2026-08-04T08:01:00.000Z",
>   "callingTranscription": {
>     "wacid": "wacid.HBgNNjI4MTM2MTkwNTEzMxUCABE",
>     "phoneId": "461269257068832",
>     "mediaAssetId": "66b1f0d9e4b05c2d8f1a3b48",
>     "status": "FAILED",
>     "error": {
>       "code": "CALLING_TRANSCRIPTION_PROCESSING_FAILED",
>       "retryable": false
>     }
>   }
> }
> ```

> [accordion] whatsapp.group.lifecycle\_update — Evento de atualização do ciclo de vida de grupo do WhatsApp
>
> Exemplo de payload quando um grupo do WhatsApp é criado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_group_lifecycle_123",
>   "type": "whatsapp.group.lifecycle_update",
>   "apiVersion": "v2",
>   "createTime": "2026-05-13T00:00:00.000Z",
>   "whatsappGroup": {
>     "wabaId": "123456789012345",
>     "displayPhoneNumber": "16315551111",
>     "phoneNumberId": "1234567890123456",
>     "field": "group_lifecycle_update",
>     "type": "group_create",
>     "requestId": "REQ_1",
>     "status": "created",
>     "groupId": "120363345678901234@g.us",
>     "inviteLink": "https://chat.whatsapp.com/AbCdEfGhIjK",
>     "subject": "New Purchase Inquiry",
>     "description": "Group for purchase inquiries.",
>     "joinApprovalMode": "auto_approve",
>     "webhookTime": "2026-05-13T00:00:00.000Z",
>     "dedupeKey": "123456789012345|REQ_1|group_lifecycle_update|group_create|created"
>   }
> }
> ```

> [accordion] whatsapp.group.participants\_update — Evento de atualização de participantes de grupo do WhatsApp
>
> Exemplo de payload quando participantes de grupo do WhatsApp são adicionados
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_group_participants_123",
>   "type": "whatsapp.group.participants_update",
>   "apiVersion": "v2",
>   "createTime": "2026-05-13T00:00:00.000Z",
>   "whatsappGroup": {
>     "wabaId": "123456789012345",
>     "field": "group_participants_update",
>     "type": "group_participants_add",
>     "status": "added",
>     "groupId": "120363345678901234@g.us",
>     "waId": "16315551111",
>     "recipientUserId": "US.1234",
>     "parentRecipientUserId": "US.parent123",
>     "customerProfile": {
>       "name": "John Doe",
>       "username": "john_doe"
>     },
>     "addedParticipants": [
>       {
>         "input": "US.1234",
>         "waId": "16315551111",
>         "recipientUserId": "US.1234",
>         "parentRecipientUserId": "US.parent123",
>         "customerProfile": {
>           "name": "John Doe",
>           "username": "john_doe"
>         }
>       }
>     ],
>     "webhookTime": "2026-05-13T00:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.group.settings\_update — Evento de atualização de configurações de grupo do WhatsApp
>
> Exemplo de payload quando as configurações de grupo do WhatsApp são atualizadas
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_group_settings_123",
>   "type": "whatsapp.group.settings_update",
>   "apiVersion": "v2",
>   "createTime": "2026-05-13T00:00:00.000Z",
>   "whatsappGroup": {
>     "wabaId": "123456789012345",
>     "field": "group_settings_update",
>     "type": "group_settings_update",
>     "requestId": "REQ_2",
>     "status": "updated",
>     "groupId": "120363345678901234@g.us",
>     "subject": "Updated Purchase Inquiry",
>     "description": "Updated group description.",
>     "settings": [
>       {
>         "name": "group_subject",
>         "text": "Updated Purchase Inquiry",
>         "updateSuccessful": true
>       },
>       {
>         "name": "group_description",
>         "text": "Updated group description.",
>         "updateSuccessful": true
>       }
>     ],
>     "webhookTime": "2026-05-13T00:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.group.status\_update — Evento de atualização de status de grupo do WhatsApp
>
> Exemplo de payload quando o status de suspensão de um grupo do WhatsApp é alterado
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_group_status_123",
>   "type": "whatsapp.group.status_update",
>   "apiVersion": "v2",
>   "createTime": "2026-05-13T00:00:00.000Z",
>   "whatsappGroup": {
>     "wabaId": "123456789012345",
>     "field": "group_status_update",
>     "type": "group_suspend",
>     "status": "suspended",
>     "groupId": "120363345678901234@g.us",
>     "webhookTime": "2026-05-13T00:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.smb.message.created — Mensagem SMB criada
>
> Leia a mensagem de saída em whatsappMessage. O tipo da mensagem seleciona seu objeto de conteúdo; este exemplo contém texto.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_smb_created",
>   "type": "whatsapp.smb.message.created",
>   "apiVersion": "v2",
>   "createTime": "2026-10-09T08:00:00.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+16315551111",
>     "to": "+16315552222",
>     "type": "text",
>     "text": {
>       "body": "Your order is ready for pickup."
>     },
>     "status": "sent",
>     "createTime": "2026-10-08T12:00:00.000Z",
>     "sendTime": "2026-10-08T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.smb.message.echoes — Mensagem de texto do WhatsApp Business App
>
> Este evento sincroniza uma mensagem enviada a partir do aplicativo WhatsApp Business ou de um dispositivo complementar compatível. Leia seu conteúdo em whatsappMessage.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_smb_echoes",
>   "type": "whatsapp.smb.message.echoes",
>   "apiVersion": "v2",
>   "createTime": "2026-10-09T08:00:00.000Z",
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+16315551111",
>     "to": "+16315552222",
>     "type": "text",
>     "text": {
>       "body": "Your order is ready for pickup."
>     },
>     "status": "sent",
>     "createTime": "2026-10-08T12:00:00.000Z",
>     "sendTime": "2026-10-08T12:00:00.000Z",
>     "toUserId": "US.13491208655302741918",
>     "toParentUserId": "US.ENT.11815799212886844830",
>     "customerProfile": {
>       "username": "example_customer"
>     }
>   }
> }
> ```

> [accordion] whatsapp.smb.history — Mensagem de histórico de entrada
>
> Uma mensagem de histórico de entrada usa whatsappInboundMessage. phase e progress informam a sincronização do bloco de histórico.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_smb_history_inbound",
>   "type": "whatsapp.smb.history",
>   "apiVersion": "v2",
>   "createTime": "2026-10-09T08:00:00.000Z",
>   "phase": 1,
>   "progress": 40,
>   "whatsappInboundMessage": {
>     "id": "INBOUND_MESSAGE_ID",
>     "wamid": "wamid.INBOUND_EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+16315552222",
>     "to": "+16315551111",
>     "type": "text",
>     "text": {
>       "body": "What time can I collect my order?"
>     },
>     "customerProfile": {
>       "name": "Example customer"
>     },
>     "sendTime": "2026-10-08T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.smb.history — Mensagem de histórico de saída
>
> Uma mensagem de histórico de saída usa whatsappMessage. Não a encaminhe como uma mensagem de entrada.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_smb_history_outbound",
>   "type": "whatsapp.smb.history",
>   "apiVersion": "v2",
>   "createTime": "2026-10-09T08:00:00.000Z",
>   "phase": 1,
>   "progress": 60,
>   "whatsappMessage": {
>     "id": "MESSAGE_ID",
>     "wamid": "wamid.EXAMPLE",
>     "wabaId": "WABA_ID",
>     "from": "+16315551111",
>     "to": "+16315552222",
>     "type": "text",
>     "text": {
>       "body": "Your order is ready for pickup."
>     },
>     "status": "sent",
>     "createTime": "2026-10-08T12:00:00.000Z",
>     "sendTime": "2026-10-08T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.smb.history — Progresso de sincronização do histórico
>
> Um bloco de histórico contendo apenas metadados informa phase e progress sem nenhum dos objetos de mensagem. Não trate essa estrutura como um payload de message-created ou message-echoes.
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_example_smb_history_progress",
>   "type": "whatsapp.smb.history",
>   "apiVersion": "v2",
>   "createTime": "2026-10-09T08:00:00.000Z",
>   "phase": 1,
>   "progress": 73
> }
> ```

> [accordion] email.delivery.updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "email.delivery.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "emailDelivery": {
>     "emailId": "<string>",
>     "recipientAddress": "tom@example.com",
>     "status": "failed",
>     "errorCode": 402,
>     "errorMessage": "Unsubscribes",
>     "externalId": "<string>",
>     "bizType": "email",
>     "verificationId": "VERIFICATION-ID"
>   }
> }
> ```

> [accordion] sms.message.updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "sms.message.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "sms": {
>     "id": "<string>",
>     "to": "+16315551111",
>     "text": "Your verification code is 123456.",
>     "senderId": "Brand",
>     "regionCode": "US",
>     "totalSegments": 1,
>     "totalPrice": 0.0085,
>     "currency": "USD",
>     "status": "sent",
>     "errorCode": "<string>",
>     "createTime": "2022-03-01T12:00:00.000Z",
>     "updateTime": "2022-03-01T12:00:00.000Z",
>     "externalId": "<string>",
>     "callbackUrl": "https://httpbin.org/anything?tag=api-sms",
>     "bizType": "sms",
>     "verificationId": "VERIFICATION-ID"
>   }
> }
> ```

> [accordion] sms.inbound.received
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "sms.inbound.received",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "smsInbound": {
>     "id": "<string>",
>     "from": "+16315551111",
>     "to": "<string>",
>     "text": "<string>",
>     "sendTime": "2022-06-01T12:00:00.000Z"
>   }
> }
> ```

> [accordion] voice.message.updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "voice.message.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "voice": {
>     "id": "<string>",
>     "to": "+16315551111",
>     "verificationCode": "123456",
>     "language": "en",
>     "regionCode": "US",
>     "totalSegments": 1,
>     "totalPrice": 0.05,
>     "currency": "USD",
>     "status": "sent",
>     "errorCode": "<string>",
>     "createTime": "2022-03-01T12:00:00.000Z",
>     "updateTime": "2022-03-01T12:00:00.000Z",
>     "externalId": "<string>",
>     "callbackUrl": "https://httpbin.org/anything?tag=api-voice",
>     "bizType": "voice",
>     "verificationId": "VERIFICATION-ID"
>   }
> }
> ```

> [accordion] whatsapp.business\_account.reviewed
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.business_account.reviewed",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappBusinessAccount": {
>     "id": "<string>",
>     "name": "<string>",
>     "currency": "<string>",
>     "messageTemplateNamespace": "<string>",
>     "accountReviewStatus": "PENDING",
>     "businessVerificationStatus": "expired",
>     "country": "<string>",
>     "ownershipType": "<string>",
>     "paymentMethodAttached": false,
>     "primaryFundingId": "<string>",
>     "purchaseOrderNumber": "<string>",
>     "timezoneId": "1",
>     "decision": "APPROVED",
>     "updateEvent": "DISABLED_UPDATE",
>     "banState": "SCHEDULE_FOR_DISABLE",
>     "banDate": "December 9, 2022",
>     "violationType": "SCAM",
>     "restrictions": [
>       {
>         "restrictionType": "RESTRICTED_ADD_PHONE_NUMBER_ACTION",
>         "expiration": "2022-06-01T12:00:00.000Z"
>       }
>     ],
>     "maxPhoneNumbersPerBusiness": 20,
>     "maxPhoneNumbersPerWaba": 25,
>     "authIntlRateEligibilityCountries": [
>       {
>         "countryCode": "IN",
>         "startTime": "2024-07-01T00:00:00.000Z"
>       }
>     ],
>     "primaryBusinessLocation": "US",
>     "removedReason": "ACCOUNT_DISCONNECTED",
>     "removedInitiatedBy": "USER",
>     "removedTime": "2026-05-19T12:00:00.000Z"
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.deleted
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.phone_number.deleted",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "phoneNumber": "+16315551111",
>     "displayPhoneNumber": "+1 631-555-1111",
>     "wabaId": "whatsapp-business-account-id",
>     "businessUsername": "acme.support",
>     "businessUsernameStatus": "not_set",
>     "requestedBusinessUsername": "acme.help",
>     "businessUsernameUpdatedAt": "2026-05-26T12:00:00.000Z",
>     "qualityRating": "GREEN",
>     "messagingLimit": "TIER_1K",
>     "whatsappBusinessManagerMessagingLimit": "<string>",
>     "verifiedName": "John’s Cake Shop",
>     "codeVerificationStatus": "VERIFIED",
>     "isOfficialBusinessAccount": false,
>     "status": "PENDING",
>     "nameStatus": "APPROVED",
>     "newNameStatus": "APPROVED",
>     "decision": "APPROVED",
>     "requestedVerifiedName": "<string>",
>     "rejectionReason": "<string>",
>     "qualityUpdateEvent": "ONBOARDING",
>     "updateEvent": "ACCOUNT_OFFBOARDED",
>     "throughputLevel": "HIGH"
>   }
> }
> ```

> [accordion] whatsapp.phone\_number.name\_updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.phone_number.name_updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappPhoneNumber": {
>     "id": "1234567890123456",
>     "phoneNumber": "+16315551111",
>     "displayPhoneNumber": "+1 631-555-1111",
>     "wabaId": "whatsapp-business-account-id",
>     "businessUsername": "acme.support",
>     "businessUsernameStatus": "not_set",
>     "requestedBusinessUsername": "acme.help",
>     "businessUsernameUpdatedAt": "2026-05-26T12:00:00.000Z",
>     "qualityRating": "GREEN",
>     "messagingLimit": "TIER_1K",
>     "whatsappBusinessManagerMessagingLimit": "<string>",
>     "verifiedName": "John’s Cake Shop",
>     "codeVerificationStatus": "VERIFIED",
>     "isOfficialBusinessAccount": false,
>     "status": "PENDING",
>     "nameStatus": "APPROVED",
>     "newNameStatus": "APPROVED",
>     "decision": "APPROVED",
>     "requestedVerifiedName": "<string>",
>     "rejectionReason": "<string>",
>     "qualityUpdateEvent": "ONBOARDING",
>     "updateEvent": "ACCOUNT_OFFBOARDED",
>     "throughputLevel": "HIGH"
>   }
> }
> ```

> [accordion] whatsapp.template.category\_updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.template.category_updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappTemplate": {
>     "officialTemplateId": "official-template-id",
>     "wabaId": "whatsapp-business-account-id",
>     "name": "<string>",
>     "language": "en_US",
>     "category": "AUTHENTICATION",
>     "subCategory": "ORDER_STATUS",
>     "previousCategory": "<string>",
>     "messageSendTtlSeconds": 600,
>     "components": [
>       {
>         "type": "BODY",
>         "format": "TEXT",
>         "text": "<string>",
>         "buttons": [
>           {
>             "type": "PHONE_NUMBER",
>             "text": "<string>",
>             "url": "<string>",
>             "phone_number": 15550051310,
>             "otp_type": "COPY_CODE",
>             "autofill_text": "Autofill",
>             "package_name": "com.example.myapplication",
>             "signature_hash": "K8a%2FAINcGX7",
>             "zero_tap_terms_accepted": false,
>             "example": [
>               "<string>"
>             ],
>             "flow_id": "1",
>             "flow_name": "<string>",
>             "flow_json": "<string>",
>             "flow_action": "navigate",
>             "navigate_screen": "WELCOME_SCREEN"
>           }
>         ],
>         "add_security_recommendation": false,
>         "code_expiration_minutes": 5,
>         "limited_time_offer": {
>           "text": "Expiring offer!",
>           "has_expiration": false
>         },
>         "example": {
>           "body_text": [
>             [
>               "<string>"
>             ]
>           ],
>           "header_text": [
>             "<string>"
>           ],
>           "header_url": [
>             "<string>"
>           ]
>         },
>         "cards": [
>           {
>             "components": [
>               {
>                 "type": "BODY",
>                 "format": "IMAGE",
>                 "text": "<string>",
>                 "buttons": [
>                   {
>                     "text": "<string>",
>                     "url": "<string>",
>                     "phone_number": 15550051310,
>                     "autofill_text": "Autofill",
>                     "package_name": "com.example.myapplication",
>                     "signature_hash": "K8a%2FAINcGX7",
>                     "zero_tap_terms_accepted": false,
>                     "example": [],
>                     "flow_id": "1",
>                     "flow_name": "<string>",
>                     "flow_json": "<string>",
>                     "flow_action": "navigate",
>                     "navigate_screen": "WELCOME_SCREEN"
>                   }
>                 ],
>                 "example": {
>                   "body_text": [
>                     []
>                   ],
>                   "header_text": [
>                     "<string>"
>                   ],
>                   "header_url": [
>                     "<string>"
>                   ]
>                 }
>               }
>             ]
>           }
>         ]
>       }
>     ],
>     "status": "REJECTED",
>     "qualityRating": "GREEN",
>     "reason": "<string>",
>     "createTime": "2022-06-01T12:00:00.000Z",
>     "updateTime": "2022-06-01T12:00:00.000Z",
>     "statusUpdateEvent": "PENDING",
>     "disableDate": "December 9, 2022",
>     "whatsappApiError": {
>       "message": "HSM Template creation failed",
>       "code": 200002,
>       "type": "OAuthException",
>       "error_subcode": 2388109,
>       "error_user_msg": "This message template cannot be created.",
>       "error_user_title": "Message Cannot Be Submitted",
>       "fbtrace_id": "AVGjJ7ia2zJkrHG",
>       "error_data": "<string>"
>     }
>   }
> }
> ```

> [accordion] whatsapp.template.quality\_updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.template.quality_updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappTemplate": {
>     "officialTemplateId": "official-template-id",
>     "wabaId": "whatsapp-business-account-id",
>     "name": "<string>",
>     "language": "en_US",
>     "category": "AUTHENTICATION",
>     "subCategory": "ORDER_STATUS",
>     "previousCategory": "<string>",
>     "messageSendTtlSeconds": 600,
>     "components": [
>       {
>         "type": "BODY",
>         "format": "TEXT",
>         "text": "<string>",
>         "buttons": [
>           {
>             "type": "PHONE_NUMBER",
>             "text": "<string>",
>             "url": "<string>",
>             "phone_number": 15550051310,
>             "otp_type": "COPY_CODE",
>             "autofill_text": "Autofill",
>             "package_name": "com.example.myapplication",
>             "signature_hash": "K8a%2FAINcGX7",
>             "zero_tap_terms_accepted": false,
>             "example": [
>               "<string>"
>             ],
>             "flow_id": "1",
>             "flow_name": "<string>",
>             "flow_json": "<string>",
>             "flow_action": "navigate",
>             "navigate_screen": "WELCOME_SCREEN"
>           }
>         ],
>         "add_security_recommendation": false,
>         "code_expiration_minutes": 5,
>         "limited_time_offer": {
>           "text": "Expiring offer!",
>           "has_expiration": false
>         },
>         "example": {
>           "body_text": [
>             [
>               "<string>"
>             ]
>           ],
>           "header_text": [
>             "<string>"
>           ],
>           "header_url": [
>             "<string>"
>           ]
>         },
>         "cards": [
>           {
>             "components": [
>               {
>                 "type": "BODY",
>                 "format": "IMAGE",
>                 "text": "<string>",
>                 "buttons": [
>                   {
>                     "text": "<string>",
>                     "url": "<string>",
>                     "phone_number": 15550051310,
>                     "autofill_text": "Autofill",
>                     "package_name": "com.example.myapplication",
>                     "signature_hash": "K8a%2FAINcGX7",
>                     "zero_tap_terms_accepted": false,
>                     "example": [],
>                     "flow_id": "1",
>                     "flow_name": "<string>",
>                     "flow_json": "<string>",
>                     "flow_action": "navigate",
>                     "navigate_screen": "WELCOME_SCREEN"
>                   }
>                 ],
>                 "example": {
>                   "body_text": [
>                     []
>                   ],
>                   "header_text": [
>                     "<string>"
>                   ],
>                   "header_url": [
>                     "<string>"
>                   ]
>                 }
>               }
>             ]
>           }
>         ]
>       }
>     ],
>     "status": "REJECTED",
>     "qualityRating": "GREEN",
>     "reason": "<string>",
>     "createTime": "2022-06-01T12:00:00.000Z",
>     "updateTime": "2022-06-01T12:00:00.000Z",
>     "statusUpdateEvent": "PENDING",
>     "disableDate": "December 9, 2022",
>     "whatsappApiError": {
>       "message": "HSM Template creation failed",
>       "code": 200002,
>       "type": "OAuthException",
>       "error_subcode": 2388109,
>       "error_user_msg": "This message template cannot be created.",
>       "error_user_title": "Message Cannot Be Submitted",
>       "fbtrace_id": "AVGjJ7ia2zJkrHG",
>       "error_data": "<string>"
>     }
>   }
> }
> ```

> [accordion] whatsapp.flow\.status\_change
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.flow.status_change",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "flowChanges": {
>     "flowId": "1097420589034000",
>     "wabaId": "<string>",
>     "message": "Flow Webhook 3 changed status from DRAFT to PUBLISHED",
>     "oldStatus": "DRAFT",
>     "newStatus": "PUBLISHED"
>   }
> }
> ```

> [accordion] whatsapp.payment.updated
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.payment.updated",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappPayment": {
>     "wabaId": "<string>",
>     "referenceId": "<string>",
>     "status": "captured",
>     "transactions": [
>       {
>         "id": "<string>",
>         "type": "billdesk",
>         "status": "pending",
>         "createdTimestamp": 0,
>         "updatedTimestamp": 0,
>         "amount": {
>           "offset": 100,
>           "value": 1234,
>           "description": "<string>",
>           "discount_program_name": "<string>"
>         },
>         "currency": "<string>",
>         "methodType": "upi",
>         "error": {
>           "code": "<string>",
>           "reason": "<string>"
>         }
>       }
>     ]
>   }
> }
> ```

> [accordion] whatsapp.user.preferences
>
> ```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
> {
>   "id": "evt_1234567890",
>   "type": "whatsapp.user.preferences",
>   "apiVersion": "v2",
>   "createTime": "2024-01-01T12:00:00.000Z",
>   "whatsappUserPreference": {
>     "wabaId": 1234123123,
>     "businessPhoneNumber": "+16315551111",
>     "businessPhoneId": "1234567890123456",
>     "contactName": "John",
>     "contactPhoneNumber": "+16315551111",
>     "userId": "US.13491208655302741918",
>     "parentUserId": "US.ENT.11815799212886844830",
>     "detail": "User requested to stop marketing messages",
>     "category": "marketing_messages",
>     "value": "stop",
>     "timestamp": "1739321024000"
>   }
> }
> ```


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