Initialize
This endpoint is used when you initialize your application’s front end
POST
/
leads
/
initialize
Header
x-upmarket-key
default: "xxxxxxxxxxxxxxxxxxx"required
This is the API Key you generated from Upmarket.
Body
client_lead_id
string
requiredclient_lead_id is the unique identifier for a lead in the source system. This can be a user’s uid or a customer’s customerId.
journey_id
string
requiredjourney_id of the Upmarket journey the lead is associated with.
lead_type
string
requiredlead_type the type of lead, either ‘account’ or ‘contact’
lead_name
string
requiredlead_name the name of the lead
Response
lead_id
string
A successful request will return a lead_id