Lead Campaigns

Get Lead Campaigns

get
Query parameters
company_idintegerRequired

The ID of the company whose lead campaigns will be retrieved

Responses
200

Successful retrieval of lead campaigns.

application/json
get
/lead/campaigns
200

Successful retrieval of lead campaigns.

Create a Lead Campaign

post
Body
company_idintegerRequired

The ID of the company associated with the lead campaign

namestringRequired

The name of the lead campaign

start_datestring · dateRequired

The start date of the lead campaign

end_datestring · dateRequired

The end date of the lead campaign

descriptionstringOptional

A description of the lead campaign (optional)

profile_idsinteger[]Optional

An array of profile IDs associated with the lead campaign (optional)

Responses
200

Successful creation of the lead campaign.

application/json
post
/lead/campaigns
200

Successful creation of the lead campaign.

Get a Lead Campaign

get
Query parameters
campaign_idintegerRequired

The ID of the lead campaign to retrieve

Responses
200

Successful retrieval of the lead campaign.

application/json
get
/lead/campaign
200

Successful retrieval of the lead campaign.

Delete a Lead Campaign

delete
Body
campaign_idintegerRequired

The ID of the lead campaign to delete

company_idintegerRequired

The ID of the company associated with the lead campaign

Responses
200

Successful deletion of the lead campaign.

application/json
delete
/lead/campaign
200

Successful deletion of the lead campaign.

Update Lead Campaign Profiles

put
Body
company_idintegerRequired

The ID of the company associated with the lead campaign

campaign_idintegerRequired

The ID of the lead campaign to update

profile_idsinteger[]Required

An array of profile IDs to associate with the lead campaign

Responses
200

Successful update of lead campaign profiles.

application/json
put
/lead/campaign/profiles
200

Successful update of lead campaign profiles.

Last updated