Lead

Get a Lead

get
Query parameters
lead_idintegerRequired

The ID of the lead to retrieve

Responses
200

Successful retrieval of the lead.

application/json
get
/lead
200

Successful retrieval of the lead.

Create a Lead

post
Body
emailstringRequired

The email address of the lead

user_idintegerOptional

The ID of the user creating the lead (optional)

company_idintegerOptional

The ID of the company associated with the lead (optional)

profile_idintegerOptional

The ID of the profile associated with the lead (optional)

namestringOptional

The name of the lead (optional)

jobstringOptional

The job title of the lead (optional)

companystringOptional

The company name of the lead (optional)

phonestringOptional

The phone number of the lead (optional)

urlstringOptional

The URL associated with the lead (optional)

addressstringOptional

The address of the lead (optional)

imagestringOptional

The image URL of the lead (optional)

descriptionstringOptional

Additional description for the lead (optional)

Responses
200

Successful creation of the lead.

application/json
post
/lead
200

Successful creation of the lead.

Update a Lead

put
Body
lead_idintegerRequired

The ID of the lead to update

descriptionstringOptional

The description of the lead

imagestringOptional

The image URL of the lead

addressstringOptional

The address of the lead

urlstringOptional

The URL associated with the lead

emailstringOptional

The email address of the lead

phonestringOptional

The phone number of the lead

companystringOptional

The company name of the lead

jobstringOptional

The job title of the lead

namestringOptional

The name of the lead

company_idintegerOptional

The ID of the company associated with the lead

profile_idintegerOptional

The ID of the profile associated with the lead

user_idintegerOptional

The ID of the user associated with the lead

favbooleanOptional

Whether the lead is marked as a favorite

labelsstring[]Optional

An array of labels associated with the lead

Responses
200

Successful update of the lead.

application/json
put
/lead
200

Successful update of the lead.

Update Lead Profile

put
Body
lead_idintegerRequired

The ID of the lead to update

company_idintegerRequired

The ID of the company associated with the lead

profile_idintegerOptional

The ID of the new profile to associate with the lead

Responses
200

Successful update of the lead profile.

application/json
put
/lead/profile
200

Successful update of the lead profile.

Delete a Lead

delete
Body
anyOptional
or
anyOptional
Responses
200

Successful deletion of the lead.

application/json
delete
/lead
200

Successful deletion of the lead.

Last updated