whatsapp.group.status_update para manipular este evento no seu endpoint de webhook.
Gatilhos
Ocorre quando o status de suspensão de um grupo do WhatsApp é atualizado. Inscreva-se emwhatsapp.group.status_update quando você configurar seu endpoint de webhook.
Sintaxe
A YCloud envia uma solicitação HTTPPOST para a URL de webhook configurada. O formato a seguir mostra uma variante do payload. Os valores entre colchetes angulares são marcadores de posição; seus tipos estão listados em Parâmetros. Campos opcionais e outras variantes são descritos abaixo.
Parâmetros
Valide o cabeçalho HTTPYCloud-Signature antes de processar o corpo JSON. Consulte a validação de assinatura.
Envelope do evento
Payload do evento
whatsappGroup
whatsappGroup.customerProfile
whatsappGroup.customerProfile
whatsappGroup.addedParticipants[]
whatsappGroup.addedParticipants[]
whatsappGroup.addedParticipants[].customerProfile
whatsappGroup.addedParticipants[].customerProfile
whatsappGroup.removedParticipants[]
whatsappGroup.removedParticipants[]
whatsappGroup.removedParticipants[].customerProfile
whatsappGroup.removedParticipants[].customerProfile
whatsappGroup.failedParticipants[]
whatsappGroup.failedParticipants[]
whatsappGroup.failedParticipants[].customerProfile
whatsappGroup.failedParticipants[].customerProfile
whatsappGroup.settings[]
whatsappGroup.settings[]
whatsappGroup.contacts[]
whatsappGroup.contacts[]
whatsappGroup.contacts[].customerProfile
whatsappGroup.contacts[].customerProfile
whatsappGroup.statuses[]
whatsappGroup.statuses[]
whatsappGroup.statuses[].conversation
whatsappGroup.statuses[].conversation
whatsappGroup.statuses[].conversation.origin
whatsappGroup.statuses[].conversation.origin
whatsappGroup.statuses[].pricing
whatsappGroup.statuses[].pricing
Exemplo
O seguinte JSON é o corpo entregue ao seu receptor. IDs, números de telefone e outros valores de conta são ilustrativos.Evento de atualização de status de grupo do WhatsApp
Evento de atualização de status de grupo do WhatsApp
Grupo suspenso
Grupo suspenso
Suspensão de grupo revogada
Suspensão de grupo revogada
2xx. Processe tarefas lentas de forma assíncrona.

