Skip to main content
POST
Send WhatsApp conversion

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
accountId
string
required
Required string length: 16
Pattern: ^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]{16}$
eventName
enum<string>
required
Available options:
LeadSubmitted,
Purchase,
AddToCart,
InitiateCheckout,
ViewContent
eventId
string
required
Minimum string length: 1
eventTime
integer
Required range: 0 <= x <= 9007199254740991
conversationId
string
Minimum string length: 1
phoneE164
string
Pattern: ^\d+$
value
number
currency
string
Required string length: 3
contentIds
string[]
Minimum string length: 1
email
string<email>
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
externalId
string
Minimum string length: 1
testCode
string
Minimum string length: 1

Response

Send WhatsApp conversion completed.

ok
boolean
required
data
object
required