Skip to main content
POST
Record a browser-side conversion (fallback)

Body

application/json

Every row this endpoint writes is stamped conversion_source: browser and verified: false. It never feeds the revenue, EPC, RPV, or ROAS numbers your dashboard treats as real: those only count verified rows. It also never fires ad-platform pixels or CRM webhooks, because an unverified sale must not reach a customer's ad account as a confirmed Purchase event. Use this only as a fallback for a cart that cannot post server-to-server; prefer the real integration postback or POST /conversions wherever you can reach either one.

workspace_code
string
required

Your workspace's public code. Required.

Maximum string length: 100
integration
string
required

Which cart integration this fallback backs, e.g. clickbank. Required. The integration must have the browser conversion fallback turned on for this workspace, or the call is rejected.

Maximum string length: 60
order_id
string
required

Your order ID. Required. This is the dedup key: a server-to-server postback for the same integration and order collapses into the same row, and the server-confirmed row always wins.

Maximum string length: 190
value
number
required

The sale amount. Required.

Required range: x >= 0
currency
string
default:USD
Maximum string length: 3
conversion_type
string
default:purchase
Maximum string length: 40
is_test
boolean
default:false
session_id
string

The player session that produced the sale, if you have it. Used to attribute the conversion and to pick up the session's video if video_code is omitted.

Maximum string length: 100
device_id
string
Maximum string length: 100
video_code
string

Wins over the session's last video when both are available.

Maximum string length: 100
customer_email
string
Maximum string length: 255
customer_phone
string
Maximum string length: 64
customer_name
string
Maximum string length: 255
product_name
string
Maximum string length: 255
product_code
string
Maximum string length: 190
properties
object

Extra key/value pairs to keep with the conversion.

Response

Recorded as an unverified, browser-sourced conversion.

ok
boolean
id
string

The conversion's dedup ID, <integration>:<order_id>.

conversion_source
string
Example:

"browser"

verified
boolean
Example:

false

attributed
boolean

True when session_id resolved to a known session.