MyNewsletterBuilder API
Overview Quick Start Examples Downloads
 
Campaigns < Return to Method List
array Campaigns([struct $filters])
Retrieve a list of campaigns from your account. Cacheable
Parameters
struct filters OPTIONAL. A keyed structure of filter data. Defaults to ['status' : 'all']. May have the following keys:

string status Return only campaigns with this status.
boolean archived Return only archived [1] or unarchived [0] campaigns.
boolean published Return only published [1] or unpublished [0] campaigns.
Return Value
array This method returns an array of keyed structures containing information about your campaigns. This data can be cached. Each structure will contain the following keys:

integer id The campaign id.
string name The campaign name.
string description The campaign description.
string status The status of the campaign.
boolean published Is the campaign published?
boolean archived Is the campaign archived?
 
 
Copyright © 2003- MyNewsletterBuilder, Inc.