whatsapp.group.participants_update para gestionar este evento en tu webhook endpoint.
Desencadenadores
Se produce cuando se actualizan los participantes de un grupo de WhatsApp o las solicitudes para unirse. Suscríbete awhatsapp.group.participants_update cuando configures tu webhook endpoint.
Sintaxis
YCloud envía una solicitud HTTPPOST a tu URL de webhook configurada. La siguiente estructura muestra una variante del payload. 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 la validación de firmas.
Envoltura del evento
Payload 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 corresponde al cuerpo entregado a tu receptor. Los ID, números de teléfono y otros valores de cuenta son solo ilustrativos.Evento de actualización de participantes de grupo de WhatsApp
Evento de actualización de participantes de grupo de WhatsApp
Participante agregado
Participante agregado
Solicitud de unión creada
Solicitud de unión creada
Error al eliminar participante
Error al eliminar participante
2xx. Procesa las tareas lentas de forma asíncrona.

