Launch Campaign

The Launch command allows you to deploy a campaign to a List of contacts or a Segment of a List. It requires the following arguments: Command, Realm, Password, List and Format.


The command is ‘launch’, the realm is ‘myrealm’ and the password is ‘mypass’. The list properties are defined in list with ID ‘5’, the template content to send is defined in the list properties, and all contacts in the list will receive the HTML content format.

Before deploying a campaign, every email address to receive the message must be subscribed to the list. If a contact does not exist or is not subscribed to the list, no message will be sent to that contact. In order to send a message to a non-contact (such as an order confirmation), please use the send command.

When you call the Launch command, a campaign is created and all data collects as part of this campaign. However, the Launch command does not check to ensure contacts exist in the list or list segment. If there are 0 contacts, the command will return SUCCESS, but no campaign will deploy.

Return Count

The Launch command can also return the contact count for the campaign by using the command 'launchwithcount'.  It works the same as the basic 'launch' but also returns the number of pieces sent.

Super List

Prior to v12.06.0, Launch deploys campaigns of type Normal only and does not deploy a Super List.  Super Lists can only be deployed through the user interface or in versions before v12.06.0.

Customized Content

Templates support the option of sending customized information. While you can pass in custom data with the Send command, the Launch command can only use the data associated to each contact for each message.

However, you can customize the List From and Reply To address using custom contact data fields. This can be accomplished by setting the custom data in the List properties (From = "%%$myfrom%%" <%%$myemail%%>).

When the message is sent, the publisher will grab the data stored in the Contact's custom data field to fill in the address settings:

From: "My Custom From Address" <>


Using all commands and arguments (please note the command is wrapped for display purposes only):


A message from List ‘5’ with MIME merged content from Template ‘42’ will be sent to all contacts that match the rules defined in segmentation rule ‘9’. The default Template Subject will be replaced in the resulting message. The message will be sent through the 'myvmta' IP. Successful results return:


Alternately, to send an A/B Test, use the command in the following format:



The Launch command outputs either a SUCCESS or FAILURE message.


The basic Launch command success message is the simple word 'SUCCESS'. The result format is:


The Launch command with the additional 'withcount' returns the number of contacts currently matching the List Count minus any Segment or Suppression rules. The result format is:

SUCCESS: [number_pieces_sent]

The Launch command with the additional 'return_task_id' returns the identification number of the list and the task created for the campaign to launch. The result format is:

SUCCESS: list_id [list_id] launched. Task ID: [task_id]


A Launch command will fail for several reasons, such as if the list does not exist or the From Address is missing. The result format is:

FAILURE: [Reason]


The Launch commands support the following arguments:







Defines the command to use.

cmd= [launch, launchwithcount]

c=[launch, launchwithcount]

*listrun and listrunwithcount prior to v10 also acceptable



Name of the realm to run the command. This is required, and the command will fail if the realm and password do not match.





Authentication code for API access. This is required, and the command will fail if the realm and password do not match.



List ID


Identifier of the list properties to use.


Template ID


Identifier of the template content to send. If no template id defined in the call, the default template defined in the List properties will be used. If no template is defined there, the call will fail. In the template, both formats must be defined in order to send MIME.




Subject line of the message to send. This overrides the default Subject defined in the Template. Character limit is 48.


Seed List


To seed a campaign with test addresses from a Seed List, set the seed_list id.


Suppression List


To suppress contacts in the list from receiving the message, use the Suppression List by defining the Name of the Suppression List.
*Added in v16.18

suppression_list=[suppression list name]

Segmentation Rule


Identifier of the segmentation rule to use to limit the contacts. If no segmentation rule is specified, the campaign will deploy to every contact in the List.




To specify the format of the email messages, set Format to the corresponding value:

1= send Plain Text only
2 = send HTML only
99 = send Multipart MIME


Campaign Alias


An optional text string to help you distinguish the campaign from others deployed from the same list.


Send RSS


By default, campaigns will send to all contacts, including any RSS contacts. to prevent messages from deploying to RSS Contacts, set to 0.

*Removed in v11.16.0




Virtual MTA


Name of the Virtual MTA IP address through which to deploy the messages. If not defined, the VTMA set in the List properties will be used.


A/B Definition


Identifier of the A/B Test Definition to deploy to contacts. List, Template, and Segment are not required or used when A/B Definition is used because the List, Template, and Segment are defined in the A/B Definition.


A/B Deployed By Email


Email address of the realm User deploying the A/B test. if the email address does not match a User in the realm, then the command will fail. Required when sending A/B Test.

deployed_by_email=[email address]

Return Task ID


On a successful launch, return the identifier for the created task if set to 1.



Seed Delivery


To seed a campaign with email addresses associated with monitored mailboxes (ie: Return Path), set Delivery to 1. This feature is limited in its availability and must be enabled in your Realm settings. When the campaign is complete, the results of the Deliverability Report are available in the Campaign Details.



Released in v10.8.0

Send Notification


After the campaign has completed, a notification email will be sent to the specified email address.

notify_email=[email address]

Account Profile


To use an Account Profile other than that assigned to the list, define the Account Profile ID.  

Account Profile support added in v12.03.0.


Email Snapshot


Email Snapshot will create and store the HTML and image screenshot of each message sent, including contact-specific personalization.  If your Realm is enabled for Email Snapshot, to store a copy of each message, set the 'snapshot' argument to 1.  

Email Snapshot support added in v15.00.00.




Comma separated list of up to 10 labels, identifiers of custom keywords to group and report items that have a similar use or purpose.  The label(s) must be defined for the Realm in order to save.  Use Get Labels to see a list of valid labels. 

Label support added in v15.14.00 to replace deprecated Email Campaign Labels.


Google Analytics


To include Analytics tags in your tracking URLs,  the 'ga' argument must be set to 1. 

If no UTM arguments are included in the command, then the default UTM settings from the Account will be used.  

To customize the UTM setting for the specific command, add the &utm_ tag followed by a string value.  

To ignore the default value from the Account, use the &utm Remove argument set to 1.  

For example, to use the default source, medium and campaign, but use a custom content, and blank term, use the following set of arguments:


Google Analytics support added in v12.13.0.





Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Powered by Zendesk