Leads
Create a lead
Creates a new lead
POST
/
leads
/
create
Authorizations
x-api-key
string
headerrequiredBody
application/json
firstName
string
requiredThe first name of the lead.
lastName
string
requiredThe last name of the lead.
phone
string
requiredThe phone number must begin with an area code (+) and can contain digits, spaces, parentheses, and hyphens (e.g. +1 (555) 555-5555)
customerProfile
string
requiredThe name of the customer profile to which this lead should belong to.
additionalInfo
object
An optional key-value object containing additional information to store with the lead.
Response
200 - application/json
message
string
Returns "Lead created successfully."
if the lead was created successfully.
id
string
The ID of the lead that was created.