Lead Gen & CRM
How can we help you?
Search our help articles, video tutorials, and quickstart guides

You've got this. You've got us. Search our Knowledge Base to quickly find answers to your questions.

Understanding Lead Gen & CRM Open API Methods: Campaigns

Article: 000050885
Updated: July 9, 2024

A reference source for Lead Gen & CRM's Campaign-specific API methods

Lead Gen & CRM has a distinct API organization. This article will detail the methods listed within the Lead Gen & CRM API, related to Campaigns.


Article Contents


Users:
Administrators 
Company Managers  
Marketing Managers  
Sales Managers  
Salespersons  
Jr. Salespersons  

 

Additional API Information

This article provides specific method content about Lead Gen & CRM's API. However, given the size and scope of the API, information is broken up and is contained in different articles. Each article focuses on a specific function of Lead Gen & CRM's API. Additional API information can be found in the following articles:


 

Campaign

createCampaigns

Specifies a list of Campaign objects to be created in Lead Gen & CRM.
 
Params Name Type  Is Required  

objects

 list<campaign> Required 
       
Return
Data
Name Type    

creates

 list<createResult> 

 

deleteCampaigns 

Specifies a list of Campaign IDs to be deleted in Lead Gen & CRM.
 
Params Name Type  Is Required  
objects list<id> 

Required

 
       
Return
Data
Name Type    
deletes 

list<deleteResult>

 

 

getCampaign 

Retrieves a single Campaign by its ID.
 
Params Name Type  Is Required  
id 

int

 Required 
       
Return
Data
Name Type    
campaigns 

list<Campaign>

 

  

getCampaigns 

Retrieves a list of Campaigns given a WHERE clause, or retrieves all Campaigns if WHERE clause is empty.
 
Params Name Type  Is Required  
where 

hash

Required: none
Optional: id, name, campaign

 Required 
limit int 

Optional

 
offset int  

Optional

 
       
Return
Data
Name Type    
campaigns 

list<Campaign>

 

 

getCampaignsDateRange

Retrieves a list of Campaigns that have been either created or updated between two timestamps. Timestamps must be specified in Y-m-d H:i:s format.
 
Params Name Type  Is Required  

startDate

 timestamp  Required 

endDate

 timestamp  Required  

timestamp

 

string

Required: create, update
Optional: none 

 Required  
       
Return
Data
Name Type    
Campaigns 

list<Campaign>

 

 

updateCampaigns

Specifies a list of Campaign objects to be updated in Lead Gen & CRM.
 
Params Name Type  Is Required  
objects list<campaign> 

Required

 
       
Return
Data
Name Type    
updates 

list<updateResult>

 

 

 


Constant Contact Logo

Copyright © 2025 · All Rights Reserved · Constant Contact · Privacy Center