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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"profile_id": "<profile_id>",
"event_name": "<event_name>",
"event_id": "<event_id>"
},
"name": "whatsapp_conversion_event_send"
}
}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 |