Skip to main content
POST
Report a Click-to-WhatsApp ad conversion

Authorizations

apiKey
string
header
required

API key from Settings → API keys.

apiSecret
string
header
required

Secret shown once when the API key is created.

Path Parameters

accountId
string
required

Your Gallabox account ID. Must be the API key's own account. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

channelId
string
required

ID of the channel. A 24-character hexadecimal ID.

Pattern: ^[a-fA-F0-9]{24}$
Example:

"6650a1b2c3d4e5f6a7b8c9d0"

Body

application/json
eventType
enum<string>
required

What the contact did.

Available options:
lead,
purchase
phone
string

The contact's phone number with country code. Give phone or ctwaClickId.

ctwaClickId
string

The click ID Meta attached to the ad click. Give phone or ctwaClickId.

value
number

Purchase value, a positive number. Only for purchase.

currency
string

ISO 4217 currency code of value, for example INR. Only for purchase, and only with value.

Response

The event was queued.

A plain acknowledgement.

status
string
message
string