whatsapp_conversion_event_send
Report a conversion (LeadSubmitted, Purchase, AddToCart, InitiateCheckout, ViewContent) for a conversation that started from a Click-to-WhatsApp ad, so Meta can attribute it. Identify the conversation by chat_id or phone; it must carry a captured ctwa_clid (422 otherwise). event_id must be unique per event. email and external_id are SHA-256 hashed before sending. Pass test_code to route the event to Meta's test-events view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Customer email, hashed before sending | ||
| phone | No | Participant phone number; resolves to their most recent chat | |
| value | No | ||
| chat_id | No | Chat hashid. Alternative to phone. | |
| currency | No | ISO 4217, e.g. USD | |
| event_id | Yes | Your unique id for this event (dedupes retries) | |
| test_code | No | Meta test_event_code | |
| dataset_id | No | Override the dataset (e.g. one owned by another business) | |
| event_name | Yes | ||
| event_time | No | ISO 8601 timestamp or unix seconds, defaults to now | |
| profile_id | Yes | Profile hashid of a whatsapp profile (the WhatsApp Business Account) | |
| content_ids | No | ||
| external_id | No | Your customer id, hashed before sending |