GET /emailCampaigns

Servers

Query parameters

Name Type Required Description
endDate String No

Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )

limit Integer No

Number of documents per page

Default value: 500

statistics String No

Filter on type of the statistics required. Example globalStats value will only fetch globalStats info of the campaign in returned response.

Valid values:

  • "globalStats"
  • "linksStats"
  • "statsByDomain"
type String No

Filter on the type of the campaigns

Valid values:

  • "trigger"
  • "classic"
status String No

Filter on the status of the campaign

Valid values:

  • "sent"
  • "suspended"
  • "queued"
  • "archive"
  • "inProcess"
  • "draft"
  • "inReview"
startDate String No

Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )

excludeHtmlContent Boolean No

Use this flag to exclude htmlContent from the response body. If set to true, htmlContent field will be returned as empty string in the response body

Valid values:

  • true
  • false
offset Integer No

Index of the first document in the page

Default value: 0

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.