Returns a list of email campaigns.
By default sorts by the dateUpdated
field in the DESC
order.
You can only call this method when authenticated as a Wix app or Wix user identity.
Number of items to load.
Number of items to skip in the current sort order.
Whether to include publishingData.statistics
in the returned campaign object.
Default: false
.
Campaign status.
Visibility status.
Paging parameters.
List of campaigns.
curl -X GET 'https://www.wixapis.com/email-marketing/v1/campaigns?option_include_statistics=true&visibility_statuses=DRAFT&statuses=ACTIVE' \
-H 'Authorization: <AUTH>'
{
"campaigns": [
{
"campaignId": "688565b5-d890-4984-8167-1987c1999a1a",
"title": "Yoga with puppies",
"firstImageUrl": "https:////static.wixstatic.com/media/eceb8e_baccf99d697447468400ca1aba4c4a60~mv2.jpg",
"editorType": "WEB",
"status": "ACTIVE",
"visibilityStatus": "DRAFT",
"distributionStatus": "NOT_STARTED",
"dateCreated": "2020-04-23T11:29:22Z",
"dateUpdated": "2020-05-14T10:08:33.291462479Z"
}
]
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.