latestOpenAPI 3.1.02026-08-185681822.2 MB

d0ab3b4eb0ae

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 even on coexistence numbers where the inbound referral omits it (this webhook is the only surface that delivers it there); the clid is also written 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