Push conversion events to Meta

Push conversion events for a WhatsApp app via the dataset associated with its WABA.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Rate limit:

500 requests per 60 seconds.


Request Example:

curl --location '{{BASE_URL}}/partner/app/{{APP_ID}}/conversions/event' \
  --header 'Authorization: Bearer {{PARTNER_APP_TOKEN}}' \
  --header 'Content-Type: application/json' \
  --data '{
    "data": [
        {
            "event_name": "Purchase",
            "event_time": 1675999999,
            "action_source": "business_messaging",
            "messaging_channel": "whatsapp",
            "user_data": {
                "whatsapp_business_account_id": {{WABA_ID}},
                "ctwa_clid": "{{CTWA_CLID}}"
            },
            "custom_data": {
                "currency": "USD",
                "value": 123
            }
        }
    ],
    "partner_agent": "{{PARTNER_NAME}}"
}'

Response

Status CodeResponseComments
Success
200See belowUpstream success
Error
400See belowValidation / business error (portal or WASS)
401See belowMissing or invalid Partner App token
403See belowCaller lacks PARTNER_APP
429See belowRate limit exceeded
4xx / 5xxUpstream bodyNon-success from WASS is passed through
500See belowUnexpected portal failure

Success — 200

{
    "events_received": 1,
    "fbtrace_id": "AYZhpp4scrUfVIWcEWJ7NmN",
    "messages": [],
    "status": "success"
}

Error — 400 (examples from Self Serve)

ScenarioResponse body
Invalid app details{"message": "Invalid app details", "status": "error"}
No WABA associated{"message": "No WABA Associated", "status": "error"}
App not on CAPI{"message": "This feature is supported only for CAPI", "status": "error"}
Missing data list{"message": "data list is required", "status": "error"}
Missing user_data{"message": "user_data is required", "status": "error"}
Missing ctwa_clid{"message": "ctwa_clid is required", "status": "error"}
Invalid / missing WABA ID in payload{"message": "WABA ID is either empty or invalid", "status": "error"}
Invalid messaging_channel{"message": "messaging_channel must be whatsapp", "status": "error"}
Missing event_name{"message": "event_name is required", "status": "error"}
Incorrect event_time{"message": "event_time is incorrect", "status": "error"}
Missing action_source{"message": "action_source is required", "status": "error"}
Missing partner_agent{"message": "partner_agent is required", "status": "error"}
Unknown app / no API key (portal){"status": "error", "message": "Invalid App Details"}

Error — 401

{
  "status": "error",
  "message": "Unauthorised access to the resource. Please review request parameters and headers and retry"
}

Error — 429

{
  "status": "error",
  "message": "Too Many Requests"
}

Error — 500

{
  "status": "error",
  "message": "Unable to push conversions event for app id: {{APP_ID}}"
}

Request parameters

KeyDescriptionData typeRequiredConstraints
Path
appIdPartner / WhatsApp app idStringRequiredApp must belong to the authenticated partner
Headers
AuthorizationPartner App tokenStringRequiredBearer {{PARTNER_APP_TOKEN}} with PARTNER_APP
Content-TypeMedia typeStringRequiredapplication/json
Body (JSON)
dataList of conversion eventsArrayRequiredValidated upstream
data[].event_nameEvent name (e.g. Purchase)StringRequired
data[].event_timeUnix timestampNumberRequired
data[].action_sourceAction sourceStringRequirede.g. business_messaging
data[].messaging_channelChannelStringRequiredMust be whatsapp
data[].user_dataUser identifiersObjectRequiredMust include matching WABA id + ctwa_clid
data[].user_data.whatsapp_business_account_idWABA idNumber / StringRequiredMust match app WABA
data[].user_data.ctwa_clidClick-to-WhatsApp click idStringRequired
data[].custom_dataOptional custom fieldsObjectOptionale.g. currency, value
partner_agentPartner / agent nameStringRequired
Path Params
string
required

Partner / WhatsApp app id. The app must belong to the authenticated partner.

Body Params
data
array of objects
required
length ≥ 1

List of conversion events. Validated upstream.

data*
string
required

Event name (e.g. Purchase).

int64
required

Unix timestamp (seconds).

string
required

Action source.

string
required

Channel. Must be whatsapp.

user_data
object
required

User identifiers. Must include matching WABA id + ctwa_clid.

custom_data
object

Optional custom fields (e.g. currency, value).

string
required

Partner / agent name.

Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json