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: EmailVariable

Article: 000054632
Updated: October 3, 2025

A reference source for Lead Gen & CRM's lead-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 Email Variables.


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:


 

EmailVariable 

 

addEmailVariable

Add a global merge variable.
 
Params Name Type  Is Required  
prettyName varchar 

Required

 
  systemNamevarchar

Required

  valuevarchar

Required

       
Return
Data
Name Type    
emailVariables 

list<createResult>

 

createEmailVariable

Specify an email variable to be created. Each variable must contain a systemName, prettyName, and a value.
 
Params Name Type  Is Required  
systemName varchar 

Required

 
  prettyNamevarchar

Required

  valuevarchar

Required

       
Return
Data
Name Type    
creates 

list<createResult>

 

 


createEmailVariables

Specify a list of email variables to be created. Each variable must contain a systemName, prettyName, and a value.
 
Params Name Type  Is Required  
objects list<EmailVariable> 

Required

 
       
Return
Data
Name Type    
creates 

list<createResult>

 

 


deleteEmailVariable

Removes a global merge variable. Locked variables cannot be removed.
 
Params Name Type  Is Required  
systemName varchar 

Required

 
       
Return
Data
Name Type    
emailVariables 

list<deleteResult>

 

 


getEmailVariables

Retrieve a list of all global email merge variables.
 
Params Name Type  Is Required  
limit int 

Optional

 
  offsetint

Optional

       
Return
Data
Name Type    
emailVariables 

list<EmailVariable>

 

 


setEmailVariable

Set the value for a global merge variable.
 
Params Name Type  Is Required  
systemName varchar 

Required

 
  valuevarchar

Required

       
Return
Data
Name Type    
emailVariables 

list<updateResult>

 

 


Did this article answer your question?


Constant Contact Logo

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