View Categories

Send email campaign via API

< 1 min read

You can run the email campaigns using the below API:


https://api.leadsquared.com/v2/EmailMarketing.svc/SendCampaignToList?accessKey={accessKey}&secretKey={secretKey}


Method : POST


Json data to be passed:


{

“EmailLibraryName”:”Email template name”,   

“SenderType”:”User”,

“From_UserIdEmailAddress”:”Sender email address”, // only admin & marketing user’s email address can be used

“ListId”:” Mention the list ID”,

“Schedule”:”2017-07-13 11:06:00″,  // time in UTC

“EmailCampaignName”:”Campaign name”,

“IncludeEmailFooter”:true,

“EmailCategory”:”Category name”

}


After scheduling the campaign, you can see the campaign details under Marketing– > Email campaigns as shown below:


Similar to the regular email campaign, the reports for the campaign via API would be available 20 mins after mailing under email campaigns list.
Scroll to Top