whatsapp.group.lifecycle_update para gestionar este evento en tu endpoint de webhook.
Activadores
Ocurre cuando se crea o elimina un grupo de WhatsApp, incluidos los resultados correctos y fallidos. Suscríbete awhatsapp.group.lifecycle_update cuando configures tu endpoint de webhook.
Sintaxis
YCloud envía una solicitud HTTPPOST a tu URL de webhook configurada. La siguiente estructura muestra una variante de la carga útil. Los valores entre corchetes angulares son marcadores de posición; sus tipos se indican en Parámetros. Los campos opcionales y otras variantes se describen a continuación.
Parámetros
Valida el encabezado HTTPYCloud-Signature antes de procesar el cuerpo JSON. Consulta validación de firmas.
Sobre del evento
Carga útil del 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
Ejemplo
El siguiente JSON es el cuerpo entregado a tu receptor. Los ID, números de teléfono y otros valores de cuenta son ilustrativos.Evento de actualización del ciclo de vida del grupo de WhatsApp
Evento de actualización del ciclo de vida del grupo de WhatsApp
Grupo creado
Grupo creado
Grupo eliminado
Grupo eliminado
2xx. Procesa las tareas lentas de forma asíncrona.

