POST
/
track
/
lead

Authorizations

Authorization
string
headerrequired

Default authentication mechanism

Body

application/json
clickId
string
required

The ID of the click in th Dub. You can read this value from dub_id cookie.

eventName
string
required

The name of the event to track.

customerId
string
required

This is the unique identifier for the customer in the client's app. This is used to track the customer's journey.

customerName
string | null

Name of the customer in the client's app.

customerEmail
string | null

Email of the customer in the client's app.

customerAvatar
string | null

Avatar of the customer in the client's app.

metadata
object | null

Additional metadata to be stored with the lead event

Response

200 - application/json
click
object
required
customer
object
required