Conversions
Push conversion events to Meta
Push conversion events for a WhatsApp app via the dataset associated with its WABA.
post/app/{appId}/conversions/event
Request
- Base URLhttps://partner.gupshup.io/partner
- URLhttps://partner.gupshup.io/partner/app/{appId}/conversions/event
- AuthHTTP bearer
Path parameters
appIdstring required
Partner / WhatsApp app id. The app must belong to the authenticated partner.
Request body
Example request
{
"data": [
{
"event_name": "Purchase",
"event_time": 1675999999,
"action_source": "business_messaging",
"messaging_channel": "whatsapp",
"user_data": {
"ctwa_clid": "ARBcDeFgHiJkLmNoPqRsTuVwXyZ"
},
"custom_data": {
"currency": "USD",
"value": 123
}
}
],
"partner_agent": "gupshup"
}Response
Upstream success
Example response
{
"events_received": 1,
"fbtrace_id": "AYZhpp4scrUfVIWcEWJ7NmN",
"messages": [],
"status": "success"
}Changes
No recorded changes to this operation across all 1 revision of this API.