channels
whatsapp
whatsapp-ad-conversions

Submit conversions

Submit WhatsApp conversion events. Events are indivisible, either all are submitted or none.

post/whatsapp/1/conversions

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic
    • or OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token

Request body

sourceIdstring

Conversion events source identifier. In case of ads that click to WhatsApp, it should be the Facebook Page selected through Ads manager and through Exchange app. Could be omitted if only one page is connected through Exchange app.

Example request

{
  "conversions": [
    {
      "ctwaClickId": "ARAkLkA8rmlFeiCktEJQ-QT",
      "type": "PURCHASE",
      "details": {
        "currency": "USD",
        "value": 123
      },
      "conversionTime": "2024-05-14T10:11:45.057Z"
    }
  ]
}

Response

Conversions were submitted

Changes

No recorded changes to this operation across all 1 revision of this API.