Webhook Events

WhatsApp automatic event detected

Fired when Meta's automatic event identification (opt-in during Embedded Signup; not available for EU/UK/JP businesses) detects a lead or purchase in a Click-to-WhatsApp conversation. Branch on eventName (LeadSubmitted | Purchase). Carries the ctwa_clid. Meta omits that clid on a minority of referrals on any number (coexistence or not, most often WhatsApp Status placements); when it does, this event can supply it and Zernio writes it back onto the conversation, so POST /v1/whatsapp/conversions becomes usable for the thread.

postWebhookwhatsapp.automatic_event

Payload

idstring
event'whatsapp.automatic_event'
timestampstring 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.

accountIdstring

SocialAccount id of the WhatsApp number whose conversation was flagged.

conversationIdstring

Zernio conversation id, when the thread could be resolved.

platformMessageIdstring

The wamid of the message Meta's analysis flagged.

eventNamestring

Meta-detected event: LeadSubmitted | Purchase.

ctwaClidstring

Meta's CTWA click id, the Conversions API match key.

detectedAtstring date-time

Response

Webhook received successfully

Changes