Add a Newsletter

 Home /Knowledgebase / SEMSblast API /Add a Newsletter

Use the API to add a new email newsletter.

 

Request

Submit an XML Request with the following details:

Post URL: http://cp.semsblast.com/api/v3.0/newsletters/addNewsletter/

 

Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
newsletterName String REQUIRED The friendly name of the new newsletter.
newsletterHTML HTML REQUIRED The HTML body of the new newsletter.

 

Response

Data Sent Back
error Int Indicates wether an error has occured. 0 for no error. 1 for error.
status String If there's been an error, a text description of the error that occured will be here.
newsletterID Int If successful, the ID of the new newsletter will appear here.

 

Sample request XML

<xml>
     <apiKey>44-121312131223</apiKey>
     <newsletterName>Test Newsletters</newsletterName>
     <newsletterHTML><strong>Welcome to our new newsletter</strong><br/><br/>We hope you enjoy it!</newsletterHTML>
</xml>

 

Sample response XML

<xml>
     <error>0</error>
     <status>success</status>
     <newsletterID>151444</newsletterID>
</xml>





Copyright © 2015 SEMSblast.com | Smarter eMail Marketing Solution. All rights reserved.Terms of Service | Privacy Policy