MPZ API > List Campaigns

Use the API to get a list of campaigns for a user.


Submit an XML Request with the following details:
Post URL:
Fields to Post
apiKey String REQUIRED The APIKey of the requesting user.
fromDate DateTime OPTIONAL yyyy-mm-dd hh:mm:ss - The date you would like to start searching from.
toDate Datetime OPTIONAL The date time that you would like to retrieve stats to (format yyyy-mm-dd hh:mm:ss)


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.
campaignCnt Int The number of campaigns returned
----> campaign    
--------> campaignID Int The Campaign ID
--------> campaignName String The friendly name of the campaign
--------> dateCreated Date Time The date the campaign was created.
--------> sentFrom String The name the email was sent from.
--------> subject String The email subject.
--------> startDate Date Time The date the campaign is/was scheduled to start.
--------> endDate Date Time The date the campaign finished sending.
--------> status Int The status of the campaign. 0 = Scheduled, 1 = Queued, 2 = Copying Subscribers, 3 = Sending Campaign, 4 = Complete.
--------> groupID Int The ID of the group sent to.
--------> emailFrom String The email address the campaign was sent from.
--------> totalRecipients Int The total number of recipients who were sent the campaign.
--------> opened Int The number of emails read/opened.
--------> clicks Int The number of links clicked.
--------> unsubscribers Int The number of unsubscribers.
--------> bounced Int The number of emails that bounced.

Sample request XML


Sample response XML

               <campaignName>Sample Campaign</campaignName>
               <dateCreated>2014-06-01 11:00</dateCreated>
               <sentFrom>Test User</sentFrom>
               <subject>My Sample Campaign</subject>
               <startDate>2014-06-02 12:00</startDate>